Changeset 72bf0d2 in mainline for kernel/arch/sparc64/include/sun4v
- Timestamp:
- 2010-02-22T21:24:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 850987d
- Parents:
- 61001a9 (diff), f8f7dba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/sparc64/include/sun4v
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/sun4v/cpu.h
r61001a9 r72bf0d2 44 44 #ifndef __ASM__ 45 45 46 #include <atomic.h> 47 #include <synch/spinlock.h> 48 46 49 struct cpu; 47 50 48 /*49 51 typedef struct { 50 52 uint64_t exec_unit_id; … … 55 57 SPINLOCK_DECLARE(proposed_nrdy_lock); 56 58 } exec_unit_t; 57 */58 59 59 60 typedef struct cpu_arch { … … 63 64 generated when the TICK register 64 65 matches this value. */ 65 //exec_unit_t *exec_unit; /**< Physical core. */66 //unsigned long proposed_nrdy; /**< Proposed No. of ready threads67 //so that cores are equally balanced. */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. */ 68 69 } cpu_arch_t; 69 70 -
kernel/arch/sparc64/include/sun4v/ipi.h
r61001a9 r72bf0d2 38 38 #define KERN_sparc64_sun4v_IPI_H_ 39 39 40 uint64_t ipi_brodcast_to(void (*func)(void), uint16_t cpu_list[MAX_NUM_STRANDS], 41 uint64_t list_size); 42 uint64_t ipi_unicast_to(void (*func)(void), uint16_t cpu_id); 40 #include <arch/types.h> 41 42 extern uint64_t ipi_brodcast_to(void (*)(void), uint16_t cpu_list[], uint64_t); 43 extern uint64_t ipi_unicast_to(void (*)(void), uint16_t); 43 44 44 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
