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:
Axel Dörfler
2005-12-12 17:04:36 +00:00
parent 381d6b57f6
commit 7c0a93573b
9 changed files with 294 additions and 17 deletions
+3 -7
View File
@@ -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];