Changeset 7a0359b in mainline for kernel/arch/sparc64/include/sun4v
- Timestamp:
- 2010-07-02T15:42:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bbfdf62
- Parents:
- e3ee9b9
- Location:
- kernel/arch/sparc64/include/sun4v
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/sun4v/asm.h
re3ee9b9 r7a0359b 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ -
kernel/arch/sparc64/include/sun4v/cpu.h
re3ee9b9 r7a0359b 37 37 38 38 /** Maximum number of virtual processors. */ 39 #define MAX_NUM_STRANDS 6439 #define MAX_NUM_STRANDS 64 40 40 41 41 /** Maximum number of logical processors in a processor core */ 42 #define MAX_CORE_STRANDS 842 #define MAX_CORE_STRANDS 8 43 43 44 44 #ifndef __ASM__ … … 59 59 60 60 typedef struct cpu_arch { 61 uint64_t id; /**< virtual processor ID */62 uint32_t clock_frequency; /**< Processor frequency in Hz. */63 uint64_t next_tick_cmpr; /**< Next clock interrupt should be64 generated when the TICK register65 matches this value. */66 exec_unit_t *exec_unit; /**< Physical core. */67 unsigned long proposed_nrdy; /**< Proposed No. of ready threads68 so that cores are equally balanced. */61 uint64_t id; /**< virtual processor ID */ 62 uint32_t clock_frequency; /**< Processor frequency in Hz. */ 63 uint64_t next_tick_cmpr; /**< Next clock interrupt should be 64 generated when the TICK register 65 matches this value. */ 66 exec_unit_t *exec_unit; /**< Physical core. */ 67 unsigned long proposed_nrdy; /**< Proposed No. of ready threads 68 so that cores are equally balanced. */ 69 69 } cpu_arch_t; 70 71 #endif72 73 #ifdef __ASM__74 70 75 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
