diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-09-08 15:09:30 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-09-08 19:43:05 +0200 |
| commit | 1d673e7e628db462215abcec06641063a6165b9b (patch) | |
| tree | 07915d1bba39a39afe7cc9dcf9806caf833fc774 /kernel/src/boot | |
| parent | 82e9f02aef1ea1a6588234ee58e3625e3561005f (diff) | |
fixed output glitches
Diffstat (limited to 'kernel/src/boot')
| -rw-r--r-- | kernel/src/boot/boot.S | 2 | ||||
| -rw-r--r-- | kernel/src/boot/multiboot2.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/src/boot/boot.S b/kernel/src/boot/boot.S index 704acbf..40ddf2b 100644 --- a/kernel/src/boot/boot.S +++ b/kernel/src/boot/boot.S @@ -124,5 +124,5 @@ pt_lvl2_hh: .skip 4096 stack_bottom: - .skip 4096*4 + .skip 4096*8 stack_top: diff --git a/kernel/src/boot/multiboot2.c b/kernel/src/boot/multiboot2.c index 12f3c38..cdc0ae4 100644 --- a/kernel/src/boot/multiboot2.c +++ b/kernel/src/boot/multiboot2.c @@ -23,8 +23,8 @@ void init_fb(mb2_tag_fb* tag_fb) main_fb.bpp = tag_fb->framebuffer_bpp; // identity map framebuffer address - map_addr(main_fb.addr, main_fb.addr, FLAG_PRESENT + FLAG_WRITABLE + FLAG_HUGE); - map_addr(main_fb.addr + PAGE_SIZE, main_fb.addr + PAGE_SIZE, FLAG_PRESENT + FLAG_WRITABLE + FLAG_HUGE); + map_addr(main_fb.addr, main_fb.addr, FLAG_PRESENT + FLAG_WRITABLE); + map_addr(main_fb.addr + PAGE_SIZE, main_fb.addr + PAGE_SIZE, FLAG_PRESENT + FLAG_WRITABLE); } void init_mmap(mb2_tag_mmap* tag_mmap) |
