|
|
1.1.1.4 ! root 1: Index: rombios.h 1.1 root 2: =================================================================== 1.1.1.4 ! root 3: RCS file: /cvsroot/bochs/bochs/bios/rombios.h,v ! 4: retrieving revision 1.3 ! 5: diff -u -w -r1.3 rombios.h ! 6: --- rombios.h 3 Oct 2006 20:27:30 -0000 1.3 ! 7: +++ rombios.h 1 Nov 2006 19:16:34 -0000 ! 8: @@ -19,7 +19,7 @@ ! 9: // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ! 10: ! 11: /* define it to include QEMU specific code */ ! 12: -//#define BX_QEMU ! 13: +#define BX_QEMU ! 14: ! 15: #ifndef LEGACY ! 16: # define BX_ROMBIOS32 1 ! 17: Index: rombios32.c 1.1.1.2 root 18: =================================================================== 1.1.1.4 ! root 19: RCS file: /cvsroot/bochs/bochs/bios/rombios32.c,v ! 20: retrieving revision 1.8 ! 21: diff -u -w -r1.8 rombios32.c ! 22: --- rombios32.c 3 Oct 2006 20:27:30 -0000 1.8 ! 23: +++ rombios32.c 1 Nov 2006 19:16:34 -0000 ! 24: @@ -852,6 +852,11 @@ ! 25: int ioapic_id, i, len; ! 26: int mp_config_table_size; ! 27: ! 28: +#ifdef BX_QEMU ! 29: + if (smp_cpus <= 1) ! 30: + return; 1.1.1.2 root 31: +#endif 1.1 root 32: + 1.1.1.4 ! root 33: #ifdef BX_USE_EBDA_TABLES ! 34: mp_config_table = (uint8_t *)(ram_size - ACPI_DATA_SIZE - MPTABLE_MAX_SIZE); ! 35: #else
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.