From 838f39324a1f305562addce6d807400522d9c469 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 19 Feb 2023 23:31:10 +0000 Subject: preparations for user mode --- kc/core/cpu/descriptor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kc/core/cpu/descriptor.h') 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 -- cgit v1.3.1-1-g115d