summaryrefslogtreecommitdiff
path: root/kc/core/cpu/descriptor.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-02-19 23:31:10 +0000
committerAda Christine <adachristine18@gmail.com>2023-02-19 23:31:10 +0000
commit838f39324a1f305562addce6d807400522d9c469 (patch)
tree71304643765fd39bc4e4ba3cb74968735b806f23 /kc/core/cpu/descriptor.h
parent2f5e6b2d18b2c0fa09ea8ece0bc13e2f040b4d80 (diff)
preparations for user mode
Diffstat (limited to 'kc/core/cpu/descriptor.h')
-rw-r--r--kc/core/cpu/descriptor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kc/core/cpu/descriptor.h b/kc/core/cpu/descriptor.h
index 802c09c..c2a95ac 100644
--- a/kc/core/cpu/descriptor.h
+++ b/kc/core/cpu/descriptor.h
@@ -20,8 +20,10 @@ enum segment_descriptor_type
{
CODE64_SUPER_SEG,
CODE64_USER_SEG,
- DATA_SEG,
+ DATA_SUPER_SEG,
TASK64_SEG,
+ CODE32_USER_SEG,
+ DATA_USER_SEG
};
struct gate_descriptor