diff options
author | Marvin Borner | 2019-11-08 23:13:51 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-08 23:13:51 +0100 |
commit | 5f0475e159428e50e58f3772d6a759ff86b7b55a (patch) | |
tree | db2610eb6a6613ecba2958f3277b9ec68ee144d6 /src/kernel/kernel.c | |
parent | dd8c010755a3044f0832c7e732e1e3cdedb4a2ac (diff) |
Began implementation of non-grub bootloader
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index c2ab13e..214ecf0 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.c @@ -36,12 +36,12 @@ void kernel_main(struct multiboot *mboot_ptr) { get_smbios(); // Setup initial ramdisk - assert(mboot_ptr->mods_count > 0); + /*assert(mboot_ptr->mods_count > 0); uint32_t initrd_location = *((uint32_t *) mboot_ptr->mods_addr); uint32_t initrd_end = *(uint32_t *) (mboot_ptr->mods_addr + 4); paging_set_used(0, (initrd_end >> 12) + 1); fs_root = initialise_initrd(initrd_location); - initrd_test(); + initrd_test();*/ // User mode! /* COMMENTED FOR DEVELOPMENT OF KERNEL |