mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[ACPICA] Update to version 20190430. CORE-16998
This commit is contained in:
parent
71a4462ad5
commit
baa3380649
6 changed files with 25 additions and 10 deletions
|
@ -233,7 +233,12 @@ AcpiDsCreateBufferField (
|
||||||
Status = AcpiNsLookup (WalkState->ScopeInfo,
|
Status = AcpiNsLookup (WalkState->ScopeInfo,
|
||||||
Arg->Common.Value.String, ACPI_TYPE_ANY,
|
Arg->Common.Value.String, ACPI_TYPE_ANY,
|
||||||
ACPI_IMODE_LOAD_PASS1, Flags, WalkState, &Node);
|
ACPI_IMODE_LOAD_PASS1, Flags, WalkState, &Node);
|
||||||
if (ACPI_FAILURE (Status))
|
if ((WalkState->ParseFlags & ACPI_PARSE_DISASSEMBLE) &&
|
||||||
|
Status == AE_ALREADY_EXISTS)
|
||||||
|
{
|
||||||
|
Status = AE_OK;
|
||||||
|
}
|
||||||
|
else if (ACPI_FAILURE (Status))
|
||||||
{
|
{
|
||||||
ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo,
|
ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo,
|
||||||
Arg->Common.Value.String, Status);
|
Arg->Common.Value.String, Status);
|
||||||
|
@ -574,12 +579,21 @@ AcpiDsCreateField (
|
||||||
Info.RegionNode = RegionNode;
|
Info.RegionNode = RegionNode;
|
||||||
|
|
||||||
Status = AcpiDsGetFieldNames (&Info, WalkState, Arg->Common.Next);
|
Status = AcpiDsGetFieldNames (&Info, WalkState, Arg->Common.Next);
|
||||||
if (Info.RegionNode->Object->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM &&
|
if (ACPI_FAILURE (Status))
|
||||||
!(RegionNode->Object->Field.InternalPccBuffer
|
|
||||||
= ACPI_ALLOCATE_ZEROED(Info.RegionNode->Object->Region.Length)))
|
|
||||||
{
|
{
|
||||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
return_ACPI_STATUS (Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Info.RegionNode->Object->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)
|
||||||
|
{
|
||||||
|
RegionNode->Object->Field.InternalPccBuffer =
|
||||||
|
ACPI_ALLOCATE_ZEROED(Info.RegionNode->Object->Region.Length);
|
||||||
|
if (!RegionNode->Object->Field.InternalPccBuffer)
|
||||||
|
{
|
||||||
|
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return_ACPI_STATUS (Status);
|
return_ACPI_STATUS (Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
#define ACPI_INVALID_PROTOCOL_ID 0x80
|
#define ACPI_INVALID_PROTOCOL_ID 0x80
|
||||||
#define ACPI_MAX_PROTOCOL_ID 0x0F
|
#define ACPI_MAX_PROTOCOL_ID 0x0F
|
||||||
|
|
||||||
const UINT8 AcpiProtocolLengths[] =
|
static const UINT8 AcpiProtocolLengths[] =
|
||||||
{
|
{
|
||||||
ACPI_INVALID_PROTOCOL_ID, /* 0 - reserved */
|
ACPI_INVALID_PROTOCOL_ID, /* 0 - reserved */
|
||||||
ACPI_INVALID_PROTOCOL_ID, /* 1 - reserved */
|
ACPI_INVALID_PROTOCOL_ID, /* 1 - reserved */
|
||||||
|
|
|
@ -328,6 +328,7 @@ ACPI_GLOBAL (ACPI_EXTERNAL_FILE *, AcpiGbl_ExternalFileList);
|
||||||
#ifdef ACPI_DEBUGGER
|
#ifdef ACPI_DEBUGGER
|
||||||
ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_AbortMethod, FALSE);
|
ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_AbortMethod, FALSE);
|
||||||
ACPI_INIT_GLOBAL (ACPI_THREAD_ID, AcpiGbl_DbThreadId, ACPI_INVALID_THREAD_ID);
|
ACPI_INIT_GLOBAL (ACPI_THREAD_ID, AcpiGbl_DbThreadId, ACPI_INVALID_THREAD_ID);
|
||||||
|
ACPI_INIT_GLOBAL (UINT32, AcpiGbl_NextCmdNum, 1);
|
||||||
|
|
||||||
ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoIniMethods);
|
ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoIniMethods);
|
||||||
ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoRegionSupport);
|
ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoRegionSupport);
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
/* Current ACPICA subsystem version in YYYYMMDD format */
|
/* Current ACPICA subsystem version in YYYYMMDD format */
|
||||||
|
|
||||||
#define ACPI_CA_VERSION 0x20200326
|
#define ACPI_CA_VERSION 0x20200430
|
||||||
|
|
||||||
#include "acconfig.h"
|
#include "acconfig.h"
|
||||||
#include "actypes.h"
|
#include "actypes.h"
|
||||||
|
|
|
@ -661,10 +661,10 @@ const ACPI_PREDEFINED_INFO AcpiGbl_PredefinedMethods[] =
|
||||||
{{"_NIC", METHOD_0ARGS, /* ACPI 6.3 */
|
{{"_NIC", METHOD_0ARGS, /* ACPI 6.3 */
|
||||||
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
||||||
|
|
||||||
{{"_NIG", METHOD_1ARGS (ACPI_TYPE_BUFFER), /* ACPI 6.3 */
|
{{"_NIG", METHOD_0ARGS, /* ACPI 6.3 */
|
||||||
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
||||||
|
|
||||||
{{"_NIH", METHOD_0ARGS, /* ACPI 6.3 */
|
{{"_NIH", METHOD_1ARGS (ACPI_TYPE_BUFFER), /* ACPI 6.3 */
|
||||||
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
METHOD_RETURNS (ACPI_RTYPE_BUFFER)}},
|
||||||
|
|
||||||
{{"_NTT", METHOD_0ARGS,
|
{{"_NTT", METHOD_0ARGS,
|
||||||
|
|
|
@ -92,7 +92,7 @@ Used Version: 1.6.37
|
||||||
Website: http://libpng.sourceforge.net/
|
Website: http://libpng.sourceforge.net/
|
||||||
|
|
||||||
Title: ACPICA
|
Title: ACPICA
|
||||||
Used Version: 20200326
|
Used Version: 20200430
|
||||||
Website: https://acpica.org/
|
Website: https://acpica.org/
|
||||||
|
|
||||||
Title: Schily Tools, mkisofs
|
Title: Schily Tools, mkisofs
|
||||||
|
|
Loading…
Reference in a new issue