ROM BIOS patches by Sebastia
This commit is contained in:
parent
b5d1677848
commit
d548442c48
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: rombios.c,v 1.242 2010-01-05 08:20:05 sshwarts Exp $
|
||||
// $Id: rombios.c,v 1.243 2010-01-14 07:04:39 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -927,7 +927,7 @@ Bit16u cdrom_boot();
|
||||
|
||||
#endif // BX_ELTORITO_BOOT
|
||||
|
||||
static char bios_cvs_version_string[] = "$Revision: 1.242 $ $Date: 2010-01-05 08:20:05 $";
|
||||
static char bios_cvs_version_string[] = "$Revision: 1.243 $ $Date: 2010-01-14 07:04:39 $";
|
||||
|
||||
#define BIOS_COPYRIGHT_STRING "(c) 2002 MandrakeSoft S.A. Written by Kevin Lawton & the Bochs team."
|
||||
|
||||
@ -11249,7 +11249,7 @@ int1a_handler:
|
||||
jne int1a_normal
|
||||
call pcibios_real
|
||||
jc pcibios_error
|
||||
iret
|
||||
retf 2
|
||||
pcibios_error:
|
||||
mov bl, ah
|
||||
mov ah, #0xb1
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: rombios32.c,v 1.61 2010-01-05 08:20:05 sshwarts Exp $
|
||||
// $Id: rombios32.c,v 1.62 2010-01-14 07:04:40 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 32 bit Bochs BIOS init code
|
||||
@ -1513,10 +1513,12 @@ int acpi_build_processor_ssdt(uint8_t *ssdt)
|
||||
// build processor scope header
|
||||
*(ssdt_ptr++) = 0x10; // ScopeOp
|
||||
if (length <= 0x3e) {
|
||||
/* Handle 1-4 CPUs with one byte encoding */
|
||||
*(ssdt_ptr++) = length + 1;
|
||||
} else {
|
||||
*(ssdt_ptr++) = 0x7F;
|
||||
*(ssdt_ptr++) = (length + 2) >> 6;
|
||||
/* Handle 5-314 CPUs with two byte encoding */
|
||||
*(ssdt_ptr++) = 0x40 | ((length + 2) & 0xf);
|
||||
*(ssdt_ptr++) = (length + 2) >> 4;
|
||||
}
|
||||
*(ssdt_ptr++) = '_'; // Name
|
||||
*(ssdt_ptr++) = 'P';
|
||||
|
Loading…
Reference in New Issue
Block a user