Bootloader: Search framebuffer information from kernel memory
Framebuffer information is no longer hard coded into bootloader. Kernel can define framebuffer info structure in its memory which is used for finding proper video mode.
This commit is contained in:
@@ -59,11 +59,6 @@ stage2_main:
|
||||
|
||||
call get_memory_map
|
||||
call read_user_command_line
|
||||
|
||||
movw $800, %ax
|
||||
movw $600, %bx
|
||||
movb $32, %cl
|
||||
call vesa_find_video_mode
|
||||
|
||||
call print_newline
|
||||
|
||||
@@ -87,7 +82,7 @@ stage2_main:
|
||||
|
||||
call elf_read_kernel_to_memory
|
||||
|
||||
call vesa_set_target_mode
|
||||
call vesa_set_video_mode
|
||||
|
||||
cli
|
||||
|
||||
|
||||
Reference in New Issue
Block a user