Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3835 → Rev 3862

/branches/sparc/kernel/arch/sparc64/include/sun4v/regdef.h
36,6 → 36,7
#ifndef KERN_sparc64_sun4v_REGDEF_H_
#define KERN_sparc64_sun4v_REGDEF_H_
 
#define PSTATE_IE_BIT (1 << 1)
#define PSTATE_PRIV_BIT (1 << 2)
#define PSTATE_PEF_BIT (1 << 4)
 
/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