aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-24 15:46:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-24 15:47:49 +0200
commit43cd66adf0a802460ef639d33dde5ead18dbcfe7 (patch)
tree33aba4b82b55e26a05877b2cc0b8a9a84593c375 /i386
parentb8013e59b9f83f254b39469cd0cf2ec6b53c0338 (diff)
downloadgnumach-43cd66adf0a802460ef639d33dde5ead18dbcfe7.tar.gz
gnumach-43cd66adf0a802460ef639d33dde5ead18dbcfe7.tar.bz2
gnumach-43cd66adf0a802460ef639d33dde5ead18dbcfe7.zip
boothdr: Do not bother computing precise limit
Computing it would be complex, and this is a temporary descriptor anyway.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/i386asm.sym2
-rw-r--r--i386/i386at/boothdr.S4
2 files changed, 2 insertions, 4 deletions
diff --git a/i386/i386/i386asm.sym b/i386/i386/i386asm.sym
index e9a53bd5..d4b05fa8 100644
--- a/i386/i386/i386asm.sym
+++ b/i386/i386/i386asm.sym
@@ -56,8 +56,6 @@ offset ApicLocalUnit lu apic_id APIC_ID
offset percpu pc cpu_id PERCPU_CPU_ID
offset percpu pc active_thread PERCPU_ACTIVE_THREAD
-size percpu pcs
-
offset pcb pcb iss
offset thread th pcb
diff --git a/i386/i386at/boothdr.S b/i386/i386at/boothdr.S
index f8c6b3c6..d4e62b69 100644
--- a/i386/i386at/boothdr.S
+++ b/i386/i386at/boothdr.S
@@ -166,12 +166,12 @@ boot_gdt:
.quad 0
/* boot GS = 0x68 */
- .word PCS_SIZE
+ .word 0xffff
boot_percpu_low:
.word 0
boot_percpu_med:
.byte 0
.byte ACC_PL_K | ACC_DATA_W | ACC_P
- .byte ((SZ_32 | SZ_G) << 4)
+ .byte ((SZ_32 | SZ_G) << 4) | 0xf
boot_percpu_high:
.byte 0