fixed format of cpuid param in .bochsrc generated by Bochs

This commit is contained in:
Stanislav Shwartsman 2011-07-17 18:14:29 +00:00
parent 5014eed268
commit 1b9fd6a18b
2 changed files with 4 additions and 3 deletions

View File

@ -26,8 +26,8 @@ Bochs repository moved to the SVN version control !
- Added ability to configure x2apic support through .bochsrc.
The APIC configuration could be selected using new CPUID .bochsrc APIC option.
Possible configurations are: "legacy", "xapic" and "x2apic".
Configure option --enable-x2apic and Bochs 2.4.6 .bochsrc XAPIC option
are deprecated and should not be used anymore.
Configure option --enable-x2apic and Bochs 2.4.6 .bochsrc XAPIC option are
deprecated and should not be used anymore.
- Configure option --enable-vbe is deprecated and should not be used anymore.
The VBE support is always automatically compiled in, in order to enable
VBE support the bochsrc option "vga: extension=" has to be set to "vbe". If
@ -94,6 +94,7 @@ Bochs repository moved to the SVN version control !
[3190995] add eth backend based on Slirp by Heikki Lindholm
- these S.F. bugs were closed/fixed
[3363289] holding shift key causes capslock hang
[1819639] Two incompatible crc32 modules
[3324111] configure for VCPP.NET issues
[3190970] Installing linux causes a crash in pci_ide

View File

@ -3992,7 +3992,7 @@ int bx_write_configuration(const char *rc, int overwrite)
#endif
fprintf(fp, "\n");
fprintf(fp, "cpuid: family=%x, model=%02x, stepping=%d",
fprintf(fp, "cpuid: family=%d, model=0x%02x, stepping=%d",
SIM->get_param_num(BXPN_CPUID_FAMILY)->get(),
SIM->get_param_num(BXPN_CPUID_MODEL)->get(),
SIM->get_param_num(BXPN_CPUID_STEPPING)->get());