diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-08-25 19:41:12 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-08-25 19:41:12 +0000 |
| commit | c25a97c7b4f09b4c9efa992434d341f5b89629ff (patch) | |
| tree | 2fa9d2167f719968f73daa4ec16528a068d308ad /source/components/utilities/utxface.c | |
| parent | 136eac2a0638d3c751b1987603f71a9ae26879fd (diff) | |
Notes
Diffstat (limited to 'source/components/utilities/utxface.c')
| -rw-r--r-- | source/components/utilities/utxface.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/source/components/utilities/utxface.c b/source/components/utilities/utxface.c index 2c6ff38c8d9a..d41c93a18f86 100644 --- a/source/components/utilities/utxface.c +++ b/source/components/utilities/utxface.c @@ -99,14 +99,6 @@ AcpiTerminate ( AcpiUtMutexTerminate (); - -#ifdef ACPI_DEBUGGER - - /* Shut down the debugger */ - - AcpiDbTerminate (); -#endif - /* Now we can shutdown the OS-dependent layer */ Status = AcpiOsTerminate (); @@ -604,7 +596,7 @@ AcpiDecodePldBuffer ( /* Parameter validation */ - if (!InBuffer || !ReturnBuffer || (Length < 16)) + if (!InBuffer || !ReturnBuffer || (Length < ACPI_PLD_REV1_BUFFER_SIZE)) { return (AE_BAD_PARAMETER); } @@ -656,7 +648,7 @@ AcpiDecodePldBuffer ( PldInfo->Rotation = ACPI_PLD_GET_ROTATION (&Dword); PldInfo->Order = ACPI_PLD_GET_ORDER (&Dword); - if (Length >= ACPI_PLD_BUFFER_SIZE) + if (Length >= ACPI_PLD_REV2_BUFFER_SIZE) { /* Fifth 32-bit DWord (Revision 2 of _PLD) */ |
