mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-05 11:29:41 +00:00
add floppy driver number in load_image() parameters
This commit is contained in:
parent
921f705d15
commit
079def3b0b
@ -78,7 +78,7 @@ int start(emile_l2_header_t* info)
|
|||||||
|
|
||||||
printf("vmlinux %s\n", info->command_line);
|
printf("vmlinux %s\n", info->command_line);
|
||||||
printf("Loading kernel...\n");
|
printf("Loading kernel...\n");
|
||||||
kernel_image_start = (unsigned long)load_image(
|
kernel_image_start = (unsigned long)load_image(1,
|
||||||
(unsigned long)info->kernel_image_offset,
|
(unsigned long)info->kernel_image_offset,
|
||||||
info->kernel_image_size);
|
info->kernel_image_size);
|
||||||
printf("Kernel image loaded at 0x%lx\n", kernel_image_start);
|
printf("Kernel image loaded at 0x%lx\n", kernel_image_start);
|
||||||
@ -154,7 +154,7 @@ int start(emile_l2_header_t* info)
|
|||||||
if (info->ramdisk_size != 0)
|
if (info->ramdisk_size != 0)
|
||||||
{
|
{
|
||||||
printf("Loading RAMDISK...\n");
|
printf("Loading RAMDISK...\n");
|
||||||
ramdisk_start = (unsigned long)load_image(
|
ramdisk_start = (unsigned long)load_image(1,
|
||||||
(unsigned long)info->ramdisk_offset,
|
(unsigned long)info->ramdisk_offset,
|
||||||
info->ramdisk_size);
|
info->ramdisk_size);
|
||||||
printf("RAMDISK loaded at 0x%lx\n", ramdisk_start);
|
printf("RAMDISK loaded at 0x%lx\n", ramdisk_start);
|
||||||
|
Loading…
Reference in New Issue
Block a user