Revision 53ea95de
b/hw/pc.c | ||
---|---|---|
666 | 666 |
|
667 | 667 |
/* append module data at the end of last module */ |
668 | 668 |
mb_kernel_data = qemu_realloc(mb_kernel_data, |
669 |
mh_load_addr - mb_mod_end);
|
|
669 |
mb_mod_end - mh_load_addr);
|
|
670 | 670 |
load_image(initrd_filename, |
671 | 671 |
mb_kernel_data + mb_mod_start - mh_load_addr); |
672 | 672 |
|
b/pc-bios/optionrom/multiboot.S | ||
---|---|---|
62 | 62 |
add %eax, %ebx |
63 | 63 |
movl %ebx, %gs:GS_GDT_DESC + 2 |
64 | 64 |
|
65 |
xor %eax, %eax |
|
66 |
mov %eax, %es |
|
67 |
|
|
65 | 68 |
/* Read the bootinfo struct into RAM */ |
66 | 69 |
read_fw_blob(FW_CFG_INITRD) |
67 | 70 |
|
... | ... | |
71 | 74 |
mov %ax, %fs |
72 | 75 |
|
73 | 76 |
/* ES = mmap_addr */ |
74 |
mov %eax, %fs:0x48
|
|
77 |
mov %fs:48, %eax
|
|
75 | 78 |
shr $4, %eax |
76 | 79 |
mov %ax, %es |
77 | 80 |
|
Also available in: Unified diff