git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Added PMM stats method (stubbed) to x86_64 and template
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86_64
/
include
/
arch.h
diff --git
a/KernelLand/Kernel/arch/x86_64/include/arch.h
b/KernelLand/Kernel/arch/x86_64/include/arch.h
index
bde7abd
..
633b167
100644
(file)
--- a/
KernelLand/Kernel/arch/x86_64/include/arch.h
+++ b/
KernelLand/Kernel/arch/x86_64/include/arch.h
@@
-11,6
+11,10
@@
#define BITS 64
#define PAGE_SIZE 0x1000
+#ifndef MAX_CPUS
+# define MAX_CPUS 8
+#endif
+
#define STACKED_LOCKS 2 // 0: No, 1: Per-CPU, 2: Per-Thread
#define LOCK_DISABLE_INTS 0
UCC
git Repository :: git.ucc.asn.au