mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
-no-fd-bootchk option (Lonnie Mendez)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1976 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5cbfcd00b0
commit
52ca8d6af0
4 changed files with 22 additions and 4 deletions
6
hw/pc.c
6
hw/pc.c
|
@ -193,6 +193,8 @@ static void cmos_init(int ram_size, int boot_device, BlockDriverState **hd_table
|
|||
case 'a':
|
||||
case 'b':
|
||||
rtc_set_memory(s, 0x3d, 0x01); /* floppy boot */
|
||||
if (!fd_bootchk)
|
||||
rtc_set_memory(s, 0x38, 0x01); /* disable signature check */
|
||||
break;
|
||||
default:
|
||||
case 'c':
|
||||
|
@ -264,10 +266,6 @@ static void cmos_init(int ram_size, int boot_device, BlockDriverState **hd_table
|
|||
}
|
||||
}
|
||||
rtc_set_memory(s, 0x39, val);
|
||||
|
||||
/* Disable check of 0x55AA signature on the last two bytes of
|
||||
first sector of disk. XXX: make it the default ? */
|
||||
// rtc_set_memory(s, 0x38, 1);
|
||||
}
|
||||
|
||||
void ioport_set_a20(int enable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue