From 787c1a6016dd2fdb51f20fcb5ca0ac5e461892d6 Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 5 Mar 2023 14:38:54 +0200 Subject: Move all tests next to the code they're testing --- i686/gdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i686/gdt.h') 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}; -- cgit v1.2.1