Revision de9258a8 hw/pc.c
b/hw/pc.c | ||
---|---|---|
28 | 28 |
|
29 | 29 |
#define BIOS_FILENAME "bios.bin" |
30 | 30 |
#define VGABIOS_FILENAME "vgabios.bin" |
31 |
#define VGABIOS_CIRRUS_FILENAME "vgabios-cirrus.bin" |
|
31 | 32 |
#define LINUX_BOOT_FILENAME "linux_boot.bin" |
32 | 33 |
|
33 | 34 |
#define KERNEL_LOAD_ADDR 0x00100000 |
... | ... | |
320 | 321 |
} |
321 | 322 |
|
322 | 323 |
/* VGA BIOS load */ |
323 |
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, VGABIOS_FILENAME); |
|
324 |
if (cirrus_vga_enabled) { |
|
325 |
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, VGABIOS_CIRRUS_FILENAME); |
|
326 |
} else { |
|
327 |
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, VGABIOS_FILENAME); |
|
328 |
} |
|
324 | 329 |
ret = load_image(buf, phys_ram_base + 0x000c0000); |
325 | 330 |
|
326 | 331 |
/* setup basic memory access */ |
Also available in: Unified diff