aboutsummaryrefslogtreecommitdiff
path: root/src/utils/gdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/gdt.c')
-rw-r--r--src/utils/gdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/gdt.c b/src/utils/gdt.c
index c380283..8c1c70d 100644
--- a/src/utils/gdt.c
+++ b/src/utils/gdt.c
@@ -35,13 +35,13 @@ void gdt_memcpy(){
// ----- User Segments
GDT_ENTRY ucs_desc;
- ucs_desc.base=0x300000;
+ ucs_desc.base=0; // With paging will take care of allocating the right address for each task
ucs_desc.limit=0xFFFFF;
ucs_desc.flags=GDT_SZ|GDT_GR;
ucs_desc.access=GDT_PR|GDT_PRVL_3|GDT_S|GDT_EXEC|GDT_RW|GDT_DC;
GDT_ENTRY uds_desc;
- uds_desc.base=0x300000;
+ uds_desc.base=0;
uds_desc.limit=0xFFFFF;
uds_desc.flags=GDT_SZ|GDT_GR;
uds_desc.access=GDT_PR|GDT_PRVL_3|GDT_S|GDT_RW;