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