#include "acpi.h"
#include "accommon.h"
#include "acresrc.h"
Go to the source code of this file.
◆ _COMPONENT
◆ AcpiRsGetAddressCommon()
Definition at line 322 of file rsaddr.c.
325{
327
328
329
330
331 if ((
Aml->Address.ResourceType > 2) &&
332 (
Aml->Address.ResourceType < 0xC0))
333 {
335 }
336
337
338
341
342
343
345 {
348 }
350 {
353 }
354 else
355 {
356
357
358 Resource->Data.Address.Info.TypeSpecific =
359 Aml->Address.SpecificFlags;
360 }
361
363}
#define ACPI_FUNCTION_ENTRY()
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN UINT8 * Aml
ACPI_STATUS AcpiRsConvertAmlToResource(ACPI_RESOURCE *Resource, AML_RESOURCE *Aml, ACPI_RSCONVERT_INFO *Info)
#define ACPI_MEMORY_RANGE
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
static ACPI_RSCONVERT_INFO AcpiRsConvertGeneralFlags[6]
static ACPI_RSCONVERT_INFO AcpiRsConvertIoFlags[4]
static ACPI_RSCONVERT_INFO AcpiRsConvertMemFlags[5]
Referenced by AcpiRsConvertAmlToResource().
◆ AcpiRsSetAddressCommon()
Definition at line 381 of file rsaddr.c.
384{
386
387
388
389
392
393
394
396 {
399 }
401 {
404 }
405 else
406 {
407
408
409 Aml->Address.SpecificFlags =
410 Resource->Data.Address.Info.TypeSpecific;
411 }
412}
ACPI_STATUS AcpiRsConvertResourceToAml(ACPI_RESOURCE *Resource, AML_RESOURCE *Aml, ACPI_RSCONVERT_INFO *Info)
Referenced by AcpiRsConvertResourceToAml().
◆ AcpiRsConvertAddress16
Initial value:=
{
0},
5},
0,
}
#define ACPI_RESOURCE_NAME_ADDRESS16
#define ACPI_RSC_TABLE_SIZE(d)
#define ACPI_RS_OFFSET(f)
#define ACPI_RS_SIZE(Type)
#define ACPI_RESOURCE_TYPE_ADDRESS16
struct aml_resource_address16 AML_RESOURCE_ADDRESS16
ACPI_RSCONVERT_INFO AcpiRsConvertAddress16[5]
Definition at line 58 of file rsaddr.c.
◆ AcpiRsConvertAddress32
Initial value:=
{
0},
5},
0,
}
#define ACPI_RESOURCE_NAME_ADDRESS32
#define ACPI_RESOURCE_TYPE_ADDRESS32
struct aml_resource_address32 AML_RESOURCE_ADDRESS32
ACPI_RSCONVERT_INFO AcpiRsConvertAddress32[5]
Definition at line 98 of file rsaddr.c.
◆ AcpiRsConvertAddress64
Initial value:=
{
0},
5},
0,
}
#define ACPI_RESOURCE_NAME_ADDRESS64
#define ACPI_RESOURCE_TYPE_ADDRESS64
struct aml_resource_address64 AML_RESOURCE_ADDRESS64
ACPI_RSCONVERT_INFO AcpiRsConvertAddress64[5]
Definition at line 138 of file rsaddr.c.
◆ AcpiRsConvertExtAddress64
Initial value:=
{
0},
1},
6}
}
#define ACPI_RESOURCE_NAME_EXTENDED_ADDRESS64
#define ACPI_RESOURCE_TYPE_EXTENDED_ADDRESS64
struct aml_resource_extended_address64 AML_RESOURCE_EXTENDED_ADDRESS64
ACPI_RSCONVERT_INFO AcpiRsConvertExtAddress64[5]
Definition at line 178 of file rsaddr.c.
◆ AcpiRsConvertGeneralFlags
◆ AcpiRsConvertIoFlags
◆ AcpiRsConvertMemFlags