Changeset 20fc4f9 in rtems


Ignore:
Timestamp:
Sep 7, 2017, 10:49:18 AM (23 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0ce5bfb
Parents:
458179f1
git-author:
Sebastian Huber <sebastian.huber@…> (09/07/17 10:49:18)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/12/17 08:00:18)
Message:

bsp/qoriq: Add QORIQ_IS_HYPERVISOR_GUEST

Update #3085.

Location:
c/src/lib/libbsp/powerpc/qoriq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/configure.ac

    r458179f1 r20fc4f9  
    6363RTEMS_BSPOPTS_HELP([QORIQ_CPU_COUNT],[maximum virtual processor count])
    6464
    65 RTEMS_BSPOPTS_SET([QORIQ_THREAD_COUNT],[qoriq_e6500*],[2])
    66 RTEMS_BSPOPTS_SET([QORIQ_THREAD_COUNT],[*],[1])
    67 RTEMS_BSPOPTS_HELP([QORIQ_THREAD_COUNT],[the number of threads per processor])
     65RTEMS_BSPOPTS_SET([QORIQ_PHYSICAL_THREAD_COUNT],[qoriq_e6500*],[2])
     66RTEMS_BSPOPTS_SET([QORIQ_PHYSICAL_THREAD_COUNT],[*],[1])
     67RTEMS_BSPOPTS_HELP([QORIQ_PHYSICAL_THREAD_COUNT],[the number of threads per core])
    6868
    6969RTEMS_BSPOPTS_SET([QORIQ_ETSEC_1_PHY_ADDR],[*],[-1])
     
    138138RTEMS_BSPOPTS_HELP([QORIQ_HAS_HYPERVISOR_MODE],[defined if the processor core has a hypervisor mode])
    139139
     140RTEMS_BSPOPTS_SET([QORIQ_IS_HYPERVISOR_GUEST],[*],[])
     141RTEMS_BSPOPTS_HELP([QORIQ_IS_HYPERVISOR_GUEST],[defined if we are a hypervisor guest])
     142
    140143RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[qoriq_core_1],[4])
    141144RTEMS_BSPOPTS_SET([QORIQ_CLOCK_TIMER],[*],[0])
  • c/src/lib/libbsp/powerpc/qoriq/include/bsp.h

    r458179f1 r20fc4f9  
    2525
    2626#include <bspopts.h>
     27
     28#ifdef QORIQ_IS_HYPERVISOR_GUEST
     29#define QORIQ_THREAD_COUNT 1
     30#else
     31#define QORIQ_THREAD_COUNT QORIQ_PHYSICAL_THREAD_COUNT
     32#endif
    2733
    2834#ifndef ASM
Note: See TracChangeset for help on using the changeset viewer.