Preparation for MTRR support, code is completely untested, though.
The CPU specific MTRR code will be in modules. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15520 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -19,18 +19,14 @@
|
||||
typedef union cpu_ent {
|
||||
struct {
|
||||
int cpu_num;
|
||||
|
||||
|
||||
// thread.c: used to force a reschedule at quantum expiration time
|
||||
int preempted;
|
||||
timer quantum_timer;
|
||||
} info;
|
||||
// ToDo: align manually on CPU cache lines if possible
|
||||
uint32 align[16];
|
||||
} cpu_ent;
|
||||
} cpu_ent __attribute__((aligned(64)));
|
||||
|
||||
|
||||
/**
|
||||
* Defined in core/cpu.c
|
||||
*/
|
||||
extern cpu_ent cpu[MAX_BOOT_CPUS];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user