Revision 7589690c
b/hw/sun4u.c | ||
---|---|---|
55 | 55 |
#define NVRAM_SIZE 0x2000 |
56 | 56 |
#define MAX_IDE_BUS 2 |
57 | 57 |
#define BIOS_CFG_IOPORT 0x510 |
58 |
#define FW_CFG_SPARC64_WIDTH (FW_CFG_ARCH_LOCAL + 0x00) |
|
59 |
#define FW_CFG_SPARC64_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) |
|
60 |
#define FW_CFG_SPARC64_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) |
|
58 | 61 |
|
59 | 62 |
#define MAX_PILS 16 |
60 | 63 |
|
... | ... | |
652 | 655 |
fw_cfg_add_i32(fw_cfg, FW_CFG_INITRD_ADDR, INITRD_LOAD_ADDR); |
653 | 656 |
fw_cfg_add_i32(fw_cfg, FW_CFG_INITRD_SIZE, initrd_size); |
654 | 657 |
fw_cfg_add_i16(fw_cfg, FW_CFG_BOOT_DEVICE, boot_devices[0]); |
658 |
|
|
659 |
fw_cfg_add_i16(fw_cfg, FW_CFG_SPARC64_WIDTH, graphic_width); |
|
660 |
fw_cfg_add_i16(fw_cfg, FW_CFG_SPARC64_HEIGHT, graphic_height); |
|
661 |
fw_cfg_add_i16(fw_cfg, FW_CFG_SPARC64_DEPTH, graphic_depth); |
|
662 |
|
|
655 | 663 |
qemu_register_boot_set(fw_cfg_boot_set, fw_cfg); |
656 | 664 |
} |
657 | 665 |
|
Also available in: Unified diff