Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 15 → Rev 16

/SPARTAN/trunk/arch/ia32/include/cpu.h
29,9 → 29,16
#ifndef __ia32_CPU_H__
#define __ia32_CPU_H__
 
#include <config.h>
#include <typedefs.h>
#include <arch/pm.h>
 
#ifdef __SMP__
#define CPU_ID_ARCH (config.cpu_count>1?l_apic_id():0)
#else
#define CPU_ID_ARCH (0)
#endif
 
struct cpu_arch {
int vendor;
int family;