Revision 3b46e624 hw/pc.c
b/hw/pc.c | ||
---|---|---|
182 | 182 |
val = 65535; |
183 | 183 |
rtc_set_memory(s, 0x34, val); |
184 | 184 |
rtc_set_memory(s, 0x35, val >> 8); |
185 |
|
|
185 |
|
|
186 | 186 |
switch(boot_device) { |
187 | 187 |
case 'a': |
188 | 188 |
case 'b': |
... | ... | |
209 | 209 |
|
210 | 210 |
val = (cmos_get_fd_drive_type(fd0) << 4) | cmos_get_fd_drive_type(fd1); |
211 | 211 |
rtc_set_memory(s, 0x10, val); |
212 |
|
|
212 |
|
|
213 | 213 |
val = 0; |
214 | 214 |
nb = 0; |
215 | 215 |
if (fd0 < 3) |
... | ... | |
294 | 294 |
{ |
295 | 295 |
static const char shutdown_str[8] = "Shutdown"; |
296 | 296 |
static int shutdown_index = 0; |
297 |
|
|
297 |
|
|
298 | 298 |
switch(addr) { |
299 | 299 |
/* Bochs BIOS messages */ |
300 | 300 |
case 0x400: |
... | ... | |
783 | 783 |
/* map all the bios at the top of memory */ |
784 | 784 |
cpu_register_physical_memory((uint32_t)(-bios_size), |
785 | 785 |
bios_size, bios_offset | IO_MEM_ROM); |
786 |
|
|
786 |
|
|
787 | 787 |
bochs_bios_init(); |
788 | 788 |
|
789 | 789 |
if (linux_boot) |
... | ... | |
914 | 914 |
smbus_eeprom_device_init(smbus, 0x50 + i, eeprom_buf + (i * 256)); |
915 | 915 |
} |
916 | 916 |
} |
917 |
|
|
917 |
|
|
918 | 918 |
if (i440fx_state) { |
919 | 919 |
i440fx_init_memory_mappings(i440fx_state); |
920 | 920 |
} |
Also available in: Unified diff