From: Stanislav S. <ssh...@us...> - 2010-02-25 22:35:11
|
Update of /cvsroot/bochs/bochs/cpu In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12774/cpu Modified Files: cpuid.cc init.cc Log Message: first updates Index: cpuid.cc =================================================================== RCS file: /cvsroot/bochs/bochs/cpu/cpuid.cc,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- cpuid.cc 25 Feb 2010 22:04:30 -0000 1.89 +++ cpuid.cc 25 Feb 2010 22:34:56 -0000 1.90 @@ -790,6 +790,13 @@ BX_PANIC(("PANIC: SSE support requires P6 emulation with MMX enabled !")); return; } + + if (sse_enabled >= BX_CPUID_SUPPORT_SSE2) { + if (BX_SUPPORT_XAPIC) { + BX_PANIC(("PANIC: SSE2 is enabled and XAPIC is not configured in !")); + return; + } + } } else { if (BX_SUPPORT_XSAVE) { Index: init.cc =================================================================== RCS file: /cvsroot/bochs/bochs/cpu/init.cc,v retrieving revision 1.224 retrieving revision 1.225 diff -u -d -r1.224 -r1.225 --- init.cc 25 Feb 2010 22:04:30 -0000 1.224 +++ init.cc 25 Feb 2010 22:34:56 -0000 1.225 @@ -305,7 +305,7 @@ sprintf(name, "cpu%d", BX_CPU_ID); - bx_list_c *cpu = new bx_list_c(SIM->get_bochs_root(), name, name, 50 + BX_GENERAL_REGISTERS); + bx_list_c *cpu = new bx_list_c(SIM->get_bochs_root(), name, name, 60 + BX_GENERAL_REGISTERS); BXRS_PARAM_SPECIAL32(cpu, cpu_version, param_save_handler, param_restore_handler); BXRS_PARAM_SPECIAL32(cpu, cpuid_std, param_save_handler, param_restore_handler); |