summaryrefslogtreecommitdiff
path: root/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm.h')
-rw-r--r--asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm.h b/asm.h
index b5fca66..c9d7c1d 100644
--- a/asm.h
+++ b/asm.h
@@ -2,10 +2,10 @@
// macros to create x86 segments from assembler
//
-#define SEG_NULL \
+#define SEG_NULLASM \
.word 0, 0; \
.byte 0, 0, 0, 0
-#define SEG(type,base,lim) \
+#define SEG_ASM(type,base,lim) \
.word (((lim) >> 12) & 0xffff), ((base) & 0xffff); \
.byte (((base) >> 16) & 0xff), (0x90 | (type)), \
(0xC0 | (((lim) >> 28) & 0xf)), (((base) >> 24) & 0xff)