Added elf symbols resolver

This commit is contained in:
Alex
2022-10-10 09:00:03 +03:00
parent 90774d68e0
commit 1446cc4682
4 changed files with 166 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void init_limine()
binfo.Kernel.PhysicalBase = (void *)KernelAddressResponse->physical_base;
binfo.Kernel.VirtualBase = (void *)KernelAddressResponse->virtual_base;
binfo.Kernel.FileBase = KernelFileResponse->kernel_file->address;
strcpy(binfo.Kernel.CommandLine, KernelFileResponse->kernel_file->cmdline);
binfo.Kernel.Size = KernelFileResponse->kernel_file->size;
trace("Kernel physical address: %p", KernelAddressResponse->physical_base);