Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3861 → Rev 3862

/branches/sparc/kernel/arch/sparc64/include/sun4v/cpu.h
37,6 → 37,15
 
#ifndef __ASM__
 
typedef struct {
uint64_t id; /**< virtual processor ID */
uint32_t mid; // TODO: left here only to keep the code compilable!!!
uint32_t clock_frequency; /**< Processor frequency in Hz. */
uint64_t next_tick_cmpr; /**< Next clock interrupt should be
generated when the TICK register
matches this value. */
} cpu_arch_t;
 
/* Maximum number of virtual processors. */
#define MAX_NUM_STRANDS 64