aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at
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/i386at
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/i386at')
-rw-r--r--i386/i386at/boothdr.S4
1 files changed, 2 insertions, 2 deletions
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