diff options
-rw-r--r-- | core/gdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,14 +31,14 @@ enum gdt_sgmts { GDT_SGMT_COUNT }; -static struct gdt_sgmt gdt[GDT_SGMT_COUNT]; +struct gdt_sgmt gdt[GDT_SGMT_COUNT]; struct gdtp { uint16_t limit; void *pointer; } __attribute__((packed)); -static struct gdtp gdtp = { +struct gdtp gdtp = { .limit = GDT_SGMT_COUNT * sizeof(*gdt) - 1, .pointer = gdt, }; |