Subversion Repositories HelenOS-historic

Rev

Rev 11 | Rev 24 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 16
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __ia32_CPU_H__
29
#ifndef __ia32_CPU_H__
30
#define __ia32_CPU_H__
30
#define __ia32_CPU_H__
31
 
31
 
-
 
32
#include <config.h>
32
#include <typedefs.h>
33
#include <typedefs.h>
33
#include <arch/pm.h>
34
#include <arch/pm.h>
34
 
35
 
-
 
36
#ifdef __SMP__
-
 
37
#define CPU_ID_ARCH (config.cpu_count>1?l_apic_id():0)
-
 
38
#else
-
 
39
#define CPU_ID_ARCH (0)
-
 
40
#endif
-
 
41
 
35
struct cpu_arch {
42
struct cpu_arch {
36
        int vendor;
43
        int vendor;
37
        int family;
44
        int family;
38
        int model;
45
        int model;
39
        int stepping;
46
        int stepping;