Changeset 26185 in vbox for trunk/src/VBox/Devices/PC/ACPI
- Timestamp:
- Feb 3, 2010 1:06:17 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57204
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/ACPI/VBoxAcpi.cpp
r26183 r26185 139 139 #endif 140 140 141 /* Two only public functions */ 142 int acpiPrepareDsdt(PPDMDEVINS pDevIns, void * *ppPtr, size_t *puDsdtLen) 143 { 144 #ifdef VBOX_WITH_DYNAMIC_DSDT 145 return prepareDynamicDsdt(pDevIns, ppPtr, puDsdtLen); 146 #else 141 /** 142 * Loads an AML file if present in CFGM 143 * 144 * @returns VBox status code 145 * @param pDevIns The device instance 146 * @param pcszCfgName The configuration key holding the file path 147 * @param pcszSignature The signature to check for 148 * @param ppbAmlCode Where to store the pointer to the AML code on success. 149 * @param pcbAmlCode Where to store the number of bytes of the AML code on success. 150 */ 151 static int acpiAmlLoadExternal(PPDMDEVINS pDevIns, const char *pcszCfgName, const char *pcszSignature, uint8_t **ppbAmlCode, size_t *pcbAmlCode) 152 { 147 153 uint8_t *pbAmlCode = NULL; 148 154 size_t cbAmlCode = 0; 149 155 char *pszAmlFilePath = NULL; 150 int rc = CFGMR3QueryStringAlloc(pDevIns->pCfg, "AmlFilePath", &pszAmlFilePath); 156 int rc = CFGMR3QueryStringAlloc(pDevIns->pCfg, pcszCfgName, &pszAmlFilePath); 157 151 158 if (RT_SUCCESS(rc)) 152 159 { … … 265 272 bool fCpuHotPlug = false; 266 273 uint8_t *pbAmlCode = NULL; 267 rc = CFGMR3QueryBoolDef(pDevIns->pCfg Handle, "CpuHotPlug", &fCpuHotPlug, false);274 rc = CFGMR3QueryBoolDef(pDevIns->pCfg, "CpuHotPlug", &fCpuHotPlug, false); 268 275 269 276 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.