aboutsummaryrefslogtreecommitdiff
path: root/i686/gdt.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-05 14:38:54 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-05 14:38:54 +0200
commit787c1a6016dd2fdb51f20fcb5ca0ac5e461892d6 (patch)
tree7db9f5102adc3d50ca85a8175ce67465256b8908 /i686/gdt.h
parentAdd TARGETBIN and TARGETLIB rules (diff)
downloadkernel-master.tar.xz
Move all tests next to the code they're testingHEADmaster
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};