diff options
author | Ian Moffett <ian@osmora.org> | 2023-12-13 12:07:43 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2023-12-13 12:07:43 -0500 |
commit | 951b20149d1cc4954863a76469ce152c1f453958 (patch) | |
tree | b735f33d2f6736c3723fd120fb36364a5352c9c4 /sys/include | |
parent | cbb1bccdeb98b8bdd80f5334f03bf45961d2a0f8 (diff) |
kernel/amd64: tss: Fix broken TSS code
This commit fixes some horribly broken TSS code. It is unclear how it
got this broken.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/arch/amd64/tss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/arch/amd64/tss.h b/sys/include/arch/amd64/tss.h index 502cf9e..90f6289 100644 --- a/sys/include/arch/amd64/tss.h +++ b/sys/include/arch/amd64/tss.h @@ -86,7 +86,7 @@ struct __packed tss_entry { struct __packed tss_desc { uint16_t seglimit; uint16_t base_lo16; - uint8_t base_mid24; + uint8_t base_mid8; uint8_t type : 4; uint8_t zero : 1; uint8_t dpl : 2; @@ -95,7 +95,7 @@ struct __packed tss_desc { uint8_t avl : 1; uint8_t unused : 2; uint8_t g : 1; - uint8_t base_mid32; + uint8_t base_hi_mid8; uint32_t base_hi32; uint32_t reserved; }; |