Changeset 20117 in vbox
- Timestamp:
- May 28, 2009 1:09:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r20112 r20117 1790 1790 static DECLCALLBACK(int) acpiConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle) 1791 1791 { 1792 int rc; 1793 ACPIState *s = PDMINS_2_DATA(pDevIns, ACPIState *); 1794 uint32_t rsdp_addr; 1792 ACPIState *s = PDMINS_2_DATA(pDevIns, ACPIState *); 1795 1793 PCIDevice *dev = &s->dev; 1796 bool fGCEnabled;1797 bool fR0Enabled;1798 1794 1799 1795 /* Validate and read the configuration. */ … … 1817 1813 1818 1814 /* query whether we are supposed to present an IOAPIC */ 1819 rc = CFGMR3QueryU8Def(pCfgHandle, "IOAPIC", &s->u8UseIOApic, 1);1815 int rc = CFGMR3QueryU8Def(pCfgHandle, "IOAPIC", &s->u8UseIOApic, 1); 1820 1816 if (RT_FAILURE(rc)) 1821 1817 return PDMDEV_SET_ERROR(pDevIns, rc, … … 1860 1856 s->fShowCpu = true; 1861 1857 1858 bool fGCEnabled; 1862 1859 rc = CFGMR3QueryBool(pCfgHandle, "GCEnabled", &fGCEnabled); 1863 1860 if (rc == VERR_CFGM_VALUE_NOT_FOUND) … … 1867 1864 N_("Configuration error: Failed to read \"GCEnabled\"")); 1868 1865 1866 bool fR0Enabled; 1869 1867 rc = CFGMR3QueryBool(pCfgHandle, "R0Enabled", &fR0Enabled); 1870 1868 if (rc == VERR_CFGM_VALUE_NOT_FOUND) … … 1875 1873 1876 1874 /* */ 1877 rsdp_addr = find_rsdp_space();1875 uint32_t rsdp_addr = find_rsdp_space(); 1878 1876 if (!rsdp_addr) 1879 1877 return PDMDEV_SET_ERROR(pDevIns, VERR_NO_MEMORY,
Note:
See TracChangeset
for help on using the changeset viewer.