49#define _COMPONENT ACPI_EXECUTER
81 void *LogicalAddrPtr =
NULL;
86 ACPI_SIZE PageBoundaryMapLength;
87#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED
126#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED
155 if (Mm == MemInfo->
CurMm)
180 "Unable to save memory mapping at 0x%8.8X%8.8X, size %u",
190 MapLength = (ACPI_SIZE)
204 PageBoundaryMapLength = (ACPI_SIZE)
206 if (PageBoundaryMapLength == 0)
211 if (MapLength > PageBoundaryMapLength)
213 MapLength = PageBoundaryMapLength;
222 "Could not map memory at 0x%8.8X%8.8X, size %u",
252 "System-Memory (width %u) R/W %u Address=%8.8X%8.8X\n",
364 void *HandlerContext,
375 "System-IO (width %u) R/W %u Address=%8.8X%8.8X\n",
429 void *HandlerContext,
456 "Pci-Config %u (%u) Seg(%04x) Bus(%04x) "
457 "Dev(%04x) Func(%04x) Reg(%04x)\n",
467 PciId, PciRegister,
Value, BitWidth);
473 PciId, PciRegister, *
Value, BitWidth);
510 void *HandlerContext,
547 void *HandlerContext,
584 void *HandlerContext,
unsigned long long UINT64
#define AE_AML_OPERAND_VALUE
#define ACPI_SET8(ptr, val)
#define ACPI_FORMAT_UINT64(i)
#define ACPI_SET64(ptr, val)
#define ACPI_ROUND_UP(value, boundary)
#define ACPI_SET32(ptr, val)
#define ACPI_SET16(ptr, val)
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
ACPI_STATUS AcpiOsWritePciConfiguration(ACPI_PCI_ID *PciId, UINT32 Reg, UINT64 Value, UINT32 Width)
ACPI_STATUS AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Reg, UINT64 *Value, UINT32 Width)
void * AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS Where, ACPI_SIZE Length)
#define ACPI_CAST_PTR(t, p)
#define ACPI_ALLOCATE_ZEROED(a)
#define ACPI_PTR_TO_PHYSADDR(i)
ACPI_STATUS AcpiUtShortDivide(UINT64 InDividend, UINT32 Divisor, UINT64 *OutQuotient, UINT32 *OutRemainder)
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
#define ACPI_DEFAULT_PAGE_SIZE
static PVOID Mapping[EMS_PHYSICAL_PAGES]
ACPI_STATUS AcpiExSystemMemorySpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
ACPI_STATUS AcpiExPciBarSpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
ACPI_STATUS AcpiExCmosSpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
ACPI_STATUS AcpiExDataTableSpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
ACPI_STATUS AcpiExPciConfigSpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
ACPI_STATUS AcpiExSystemIoSpaceHandler(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
GLuint GLint GLboolean GLint GLenum access
ACPI_STATUS AcpiHwWritePort(ACPI_IO_ADDRESS Address, UINT32 Value, UINT32 Width)
ACPI_STATUS AcpiHwReadPort(ACPI_IO_ADDRESS Address, UINT32 *Value, UINT32 Width)
#define memcpy(s1, s2, n)
_In_ ULONG _In_ ULONG _In_ ULONG Length
struct acpi_mem_mapping * NextMm
ACPI_PHYSICAL_ADDRESS PhysicalAddress
ACPI_PHYSICAL_ADDRESS Address
ACPI_MEM_MAPPING * FirstMm
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
_In_ LARGE_INTEGER _Out_opt_ PLARGE_INTEGER Remainder