summaryrefslogtreecommitdiff
path: root/bootasm.S
diff options
context:
space:
mode:
Diffstat (limited to 'bootasm.S')
-rw-r--r--bootasm.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootasm.S b/bootasm.S
index 9c4a9b2..4b2e012 100644
--- a/bootasm.S
+++ b/bootasm.S
@@ -7,7 +7,6 @@
#define SEG_KCODE 1 // kernel code
#define SEG_KDATA 2 // kernel data+stack
-#define SEG_KCPU 3 // kernel per-cpu data
#define CR0_PE 1 // protected mode enable bit
@@ -63,7 +62,7 @@ start32:
movw %ax, %ds # -> DS: Data Segment
movw %ax, %es # -> ES: Extra Segment
movw %ax, %ss # -> SS: Stack Segment
- movw $(SEG_KCPU<<3), %ax # Our per-cpu segment selector
+ movw $0, %ax # Zero segments not ready for use
movw %ax, %fs # -> FS
movw %ax, %gs # -> GS