Alex Smith c2656eb9bd Improved elf_load_image() a bit.
After enabling BOOT_SUPPORT_ELF64 on x86 the x86 kernel could no longer be
booted because too many kernel_args allocations were taking place and filling
kernel_args_ranges. This was because for each image load it would check if
the image is ELF64, fail and fall back to ELF32 (each ELF64 check allocated
a preloaded_image). Changed elf_load_image() so that it only tries both when
loading the kernel image, and then for modules it will only try the same ELF
class as the kernel image.
2012-06-24 17:58:22 +01:00
..
2012-06-20 19:57:24 +02:00
2012-05-10 15:55:14 -04:00
2012-05-06 16:50:02 +02:00
2012-06-24 17:58:22 +01:00