aboutsummaryrefslogtreecommitdiff
path: root/i686/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'i686/gdt.h')
-rw-r--r--i686/gdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i686/gdt.h b/i686/gdt.h
index f00ff7f..91de365 100644
--- a/i686/gdt.h
+++ b/i686/gdt.h
@@ -16,7 +16,7 @@ struct __attribute__((packed)) Access {
};
_Static_assert(sizeof(struct Access) == 1, "access byte size");
-static const struct Access null_access = {false, false, false, false, false, false, false};
+static const struct Access null_access = {false, false, false, false, false, Ring0, false};
static const struct Access ktext_access = {.readwrite = true, .executable = true, .segment = true, .present = true};
static const struct Access kdata_access = {.readwrite = true, .segment = true, .present = true};