add floppy driver number in load_image() parameters

This commit is contained in:
Laurent Vivier 2004-12-01 00:22:46 +00:00
parent 921f705d15
commit 079def3b0b

View File

@ -78,7 +78,7 @@ int start(emile_l2_header_t* info)
printf("vmlinux %s\n", info->command_line);
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,
info->kernel_image_size);
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)
{
printf("Loading RAMDISK...\n");
ramdisk_start = (unsigned long)load_image(
ramdisk_start = (unsigned long)load_image(1,
(unsigned long)info->ramdisk_offset,
info->ramdisk_size);
printf("RAMDISK loaded at 0x%lx\n", ramdisk_start);