summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kernel.c4
-rw-r--r--kernel/multiboot.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index ab4332a..6bda4bf 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -63,7 +63,7 @@ void kernel_main(uint32_t eax,uint32_t ebx)
// -- GET CONFIGS -- //
klog("Read Multiboot Structures ...");
multiboot_information *cfg_multiboot;
- cfg_multiboot=multiboot_read(eax, ebx,true); // true-silent
+ cfg_multiboot=multiboot_read(eax, ebx,false); // true-silent
// elf_multiboot_read(cfg_multiboot); // just show kernel section headers
klog("Read Advanced Power Configuration Interface (ACPI) Structures ...");
@@ -117,7 +117,7 @@ void kernel_main(uint32_t eax,uint32_t ebx)
fixme("support binfonts spanning multiple blocks?");
uint32_t inode= ext2_filename_to_inode(VMEM_EXT2_RAMIMAGE,VESA_FONT_PATH);
uint32_t addr= ext2_inode_blockstart( VMEM_EXT2_RAMIMAGE,inode,0);
- vesa_init(cfg_multiboot->vbe_control_info,cfg_multiboot->vbe_mode_info,addr);
+ vesa_init(cfg_multiboot,addr);
// -- STD STREAMS -- //
fd_init_std_streams(0,cfg_multiboot->framebuffer_type!=2);
diff --git a/kernel/multiboot.c b/kernel/multiboot.c
index ce97c0a..dccd3ce 100644
--- a/kernel/multiboot.c
+++ b/kernel/multiboot.c
@@ -79,7 +79,7 @@ multiboot_information* multiboot_read(uint32_t eax, uint32_t ebx, bool silent)
if(info->flags&&1<<12)
{
- klog("[12] Framebuffer (type=%d) (w:%d h:%d bpp:%d) at addr=0x%08X",info->framebuffer_type,info->framebuffer_width,info->framebuffer_height,info->framebuffer_bpp,info->framebuffer_addr);
+ klog("[12] Framebuffer (type=%d) (w:%d h:%d bpp:%d) (pitch: %d) at addr=0x%08X",info->framebuffer_type,info->framebuffer_width,info->framebuffer_height,info->framebuffer_bpp,info->framebuffer_pitch,info->framebuffer_addr);
}
return info;