exconvrt.c (193529) | exconvrt.c (199337) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: exconvrt - Object conversion routines 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 246 unchanged lines hidden (view full) --- 255 default: 256 257 /* No other types can get here */ 258 break; 259 } 260 261 /* Create a new integer */ 262 | 1/****************************************************************************** 2 * 3 * Module Name: exconvrt - Object conversion routines 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 246 unchanged lines hidden (view full) --- 255 default: 256 257 /* No other types can get here */ 258 break; 259 } 260 261 /* Create a new integer */ 262 |
263 ReturnDesc = AcpiUtCreateInternalObject (ACPI_TYPE_INTEGER); | 263 ReturnDesc = AcpiUtCreateIntegerObject (Result); |
264 if (!ReturnDesc) 265 { 266 return_ACPI_STATUS (AE_NO_MEMORY); 267 } 268 269 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Converted value: %8.8X%8.8X\n", 270 ACPI_FORMAT_UINT64 (Result))); 271 272 /* Save the Result */ 273 | 264 if (!ReturnDesc) 265 { 266 return_ACPI_STATUS (AE_NO_MEMORY); 267 } 268 269 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Converted value: %8.8X%8.8X\n", 270 ACPI_FORMAT_UINT64 (Result))); 271 272 /* Save the Result */ 273 |
274 ReturnDesc->Integer.Value = Result; | |
275 AcpiExTruncateFor32bitTable (ReturnDesc); 276 *ResultDesc = ReturnDesc; 277 return_ACPI_STATUS (AE_OK); 278} 279 280 281/******************************************************************************* 282 * --- 545 unchanged lines hidden --- | 274 AcpiExTruncateFor32bitTable (ReturnDesc); 275 *ResultDesc = ReturnDesc; 276 return_ACPI_STATUS (AE_OK); 277} 278 279 280/******************************************************************************* 281 * --- 545 unchanged lines hidden --- |