Changeset 12588 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Sep 18, 2008 5:47:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r12520 r12588 499 499 /* 500 500 * Advanced Programmable Interrupt Controller. 501 * SMP: Each CPU has a LAPIC (cross-calls). 501 * SMP: Each CPU has a LAPIC, but we have a single device representing all LAPICs states, 502 * thus only single insert 502 503 */ 503 504 rc = CFGMR3InsertNode(pDevices, "apic", &pDev); RC_CHECK(); 504 for (unsigned iCpu = 0; iCpu < cCpus; iCpu++) 505 { 506 rc = CFGMR3InsertNodeF(pDev, &pInst, "%u", iCpu); RC_CHECK(); 507 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 508 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 509 rc = CFGMR3InsertInteger(pCfg, "IOAPIC", fIOAPIC); RC_CHECK(); 510 } 511 505 rc = CFGMR3InsertNode(pDev, "0", &pInst); RC_CHECK(); 506 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 507 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 508 rc = CFGMR3InsertInteger(pCfg, "IOAPIC", fIOAPIC); RC_CHECK(); 509 rc = CFGMR3InsertInteger(pCfg, "NumCPUs", cCpus); RC_CHECK(); 510 511 /* SMP: @todo: IOAPIC may be required for SMP configs */ 512 512 if (fIOAPIC) 513 513 {
Note:
See TracChangeset
for help on using the changeset viewer.