Rev 180 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 180 | Rev 192 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
33 | #include <arch/pm.h> |
33 | #include <arch/pm.h> |
34 | #include <arch/asm.h> |
34 | #include <arch/asm.h> |
35 | 35 | ||
36 | #ifdef __SMP__ |
- | |
37 | #define CPU_ID_ARCH (read_dr0()) |
- | |
38 | #else |
- | |
39 | #define CPU_ID_ARCH (0) |
- | |
40 | #endif |
- | |
41 | - | ||
42 | struct cpu_arch { |
36 | struct cpu_arch { |
43 | int vendor; |
37 | int vendor; |
44 | int family; |
38 | int family; |
45 | int model; |
39 | int model; |
46 | int stepping; |
40 | int stepping; |