boot: remove framebuffer tag, fix bug

We will only work in raw character mode for now,
it's probably gonna take a *lot* of time until
we have an actual VGA driver qwq
This commit is contained in:
anna 2021-09-19 04:45:32 +02:00
parent 3a8887ad51
commit 27c516b896
Signed by: fef
GPG key ID: EC22E476DC2D3D84

View file

@ -56,6 +56,7 @@ entry_address_tag_start: /* struct mb2_header_tag_entry_address */
.long _start .long _start
entry_address_tag_end: entry_address_tag_end:
#if 0 /* TODO: implement graphics */
.align MB2_TAG_ALIGN .align MB2_TAG_ALIGN
framebuffer_tag_start: /* struct mb2_header_tag_framebuffer */ framebuffer_tag_start: /* struct mb2_header_tag_framebuffer */
/* type */ /* type */
@ -71,6 +72,7 @@ framebuffer_tag_start: /* struct mb2_header_tag_framebuffer */
/* depth */ /* depth */
.long 32 .long 32
framebuffer_tag_end: framebuffer_tag_end:
#endif /* framebuffer disabled */
.align MB2_TAG_ALIGN .align MB2_TAG_ALIGN
end_tag_start: /* struct mb2_header_tag */ end_tag_start: /* struct mb2_header_tag */
@ -87,7 +89,7 @@ header_end:
.text .text
asmfn_begin(_start) asmfn_begin(_start)
mov _stack_end, %esp mov $_stack_end, %esp
/* reset EFLAGS */ /* reset EFLAGS */
pushl $0 pushl $0