git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: elf parsing utility and exec related
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
i386_asm.h
diff --git a/lunaix-os/includes/arch/x86/i386_asm.h
b/lunaix-os/includes/arch/x86/i386_asm.h
new file mode 100644
(file)
index 0000000..
5fec5b3
--- /dev/null
+++ b/
lunaix-os/includes/arch/x86/i386_asm.h
@@ -0,0
+1,10
@@
+#ifndef __LUNAIX_I386_ASM_H
+#define __LUNAIX_I386_ASM_H
+
+#define KCODE_SEG 0x08
+#define KDATA_SEG 0x10
+#define UCODE_SEG 0x1B
+#define UDATA_SEG 0x23
+#define TSS_SEG 0x28
+
+#endif /* __LUNAIX_I386_ASM_H */