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/x86 - Structure for watchpoints (not used)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
include
/
arch.h
diff --git
a/KernelLand/Kernel/arch/x86/include/arch.h
b/KernelLand/Kernel/arch/x86/include/arch.h
index
1474269
..
feb25f4
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/include/arch.h
+++ b/
KernelLand/Kernel/arch/x86/include/arch.h
@@
-69,6
+69,8
@@
struct sShortSpinlock {
// TODO: SMP halt request too
#define HALT_CPU() for(;;) { __asm__ __volatile__ ("cli; hlt"); }
+#define ASM(v...) __asm__ __volatile__ (v)
+
// === TYPES ===
typedef unsigned int Uint; // Unsigned machine native integer
typedef unsigned char Uint8;
UCC
git Repository :: git.ucc.asn.au