diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-02-01 16:40:00 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-02-01 16:40:00 -0500 |
| commit | 957b031689658c1ff67ea8a8a04640be9bec2d7d (patch) | |
| tree | 231c46b390d8d242461a0c571b8fbcf671e8c370 /kernel/include/gdt.h | |
| parent | 439d724ce5939cab7a5c858d1829f212e01e0402 (diff) | |
| download | kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.zip kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.gz kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.bz2 kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.xz | |
a lot of kernel work
Diffstat (limited to 'kernel/include/gdt.h')
| -rw-r--r-- | kernel/include/gdt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/include/gdt.h b/kernel/include/gdt.h index e93c92a..4cf7c4f 100644 --- a/kernel/include/gdt.h +++ b/kernel/include/gdt.h @@ -10,7 +10,7 @@ struct gdt_entry { } __attribute__((packed)); struct gdt_ptr { - uint8_t limit; + uint16_t limit; uint32_t base; } __attribute__((packed)); @@ -18,6 +18,6 @@ struct gdt_entry gdt[3]; struct gdt_ptr gp; /* assembly */ -extern void gdt_flush(struct gdt_ptr*); +extern void gdt_flush(uint32_t); void gdt_init(void); |