ReactOS 0.4.16-dev-91-g764881a
|
#include <apitest.h>
#include <ndk/rtlfuncs.h>
#include <acpi.h>
#include "../../../../drivers/bus/acpi/buspdo.c"
Go to the source code of this file.
Classes | |
struct | _IRP |
struct | _PDO_DEVICE_DATA |
Macros | |
#define | WIN32_NO_STATUS |
#define | UNIT_TEST |
#define | PAGED_CODE() |
#define | DPRINT1(...) do { if (0) DbgPrint(__VA_ARGS__); } while (0) |
#define | PagedPool 1 |
#define | MAKE_IRQ(Resource, _DescriptorLength, _Triggering, _Polarity, _Shareable, _WakeCapable) |
#define | expect_irq(Desc, ExpectedOption, ExpectedShare, ExpectedMin, ExpectedMax) |
#define | expect_port(Desc, ExpectedOption, ExpectedShare, ExpectedLength, ExpectedAlign, ExpectedMin, ExpectedMax) |
Typedefs | |
typedef struct _IRP | IRP |
typedef struct _IRP * | PIRP |
typedef struct _PDO_DEVICE_DATA | PDO_DEVICE_DATA |
typedef struct _PDO_DEVICE_DATA * | PPDO_DEVICE_DATA |
Functions | |
static PVOID | ExAllocatePoolWithTag (ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag) |
static VOID | ExFreePoolWithTag (PVOID MemPtr, ULONG Tag) |
static SIZE_T | GetPoolAllocSize (PVOID MemPtr) |
ACPI_STATUS | AcpiGetCurrentResources (ACPI_HANDLE Device, ACPI_BUFFER *RetBuffer) |
ACPI_STATUS | AcpiGetPossibleResources (ACPI_HANDLE Device, ACPI_BUFFER *RetBuffer) |
START_TEST (Bus_PDO_QueryResourceRequirements) | |
Variables | |
static BOOLEAN | AcpiCallExpected |
static ACPI_HANDLE | CorrectHandle = &CorrectHandle |
static ACPI_BUFFER | CurrentBuffer |
static ACPI_BUFFER | PossibleBuffer |
Definition at line 17 of file Bus_PDO_QueryResourceRequirements.c.
#define expect_irq | ( | Desc, | |
ExpectedOption, | |||
ExpectedShare, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
Definition at line 118 of file Bus_PDO_QueryResourceRequirements.c.
#define expect_port | ( | Desc, | |
ExpectedOption, | |||
ExpectedShare, | |||
ExpectedLength, | |||
ExpectedAlign, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
Definition at line 127 of file Bus_PDO_QueryResourceRequirements.c.
Definition at line 108 of file Bus_PDO_QueryResourceRequirements.c.
#define PAGED_CODE | ( | ) |
Definition at line 16 of file Bus_PDO_QueryResourceRequirements.c.
#define PagedPool 1 |
Definition at line 24 of file Bus_PDO_QueryResourceRequirements.c.
#define UNIT_TEST |
Definition at line 12 of file Bus_PDO_QueryResourceRequirements.c.
#define WIN32_NO_STATUS |
Definition at line 10 of file Bus_PDO_QueryResourceRequirements.c.
typedef struct _PDO_DEVICE_DATA PDO_DEVICE_DATA |
typedef struct _PDO_DEVICE_DATA * PPDO_DEVICE_DATA |
ACPI_STATUS AcpiGetCurrentResources | ( | ACPI_HANDLE | Device, |
ACPI_BUFFER * | RetBuffer | ||
) |
Definition at line 72 of file Bus_PDO_QueryResourceRequirements.c.
ACPI_STATUS AcpiGetPossibleResources | ( | ACPI_HANDLE | Device, |
ACPI_BUFFER * | RetBuffer | ||
) |
Definition at line 89 of file Bus_PDO_QueryResourceRequirements.c.
Definition at line 27 of file Bus_PDO_QueryResourceRequirements.c.
Definition at line 39 of file Bus_PDO_QueryResourceRequirements.c.
Definition at line 50 of file Bus_PDO_QueryResourceRequirements.c.
Referenced by DrvTestCard1Dev1QueryResourceRequirements(), DrvTestCard1Dev5QueryResourceRequirements(), DrvTestCard1Dev5QueryResources(), DrvTestCard1Dev6QueryResourceRequirements(), DrvTestCard1Dev6QueryResources(), DrvTestReadDataPortQueryResources(), DrvTestReadDataPortQueryResourcesRequirementsForEnum(), DrvTestReadDataPortQueryResourcesRequirementsForRebalance(), and START_TEST().
START_TEST | ( | Bus_PDO_QueryResourceRequirements | ) |
Definition at line 138 of file Bus_PDO_QueryResourceRequirements.c.
|
static |
Definition at line 66 of file Bus_PDO_QueryResourceRequirements.c.
Referenced by AcpiGetCurrentResources(), AcpiGetPossibleResources(), and START_TEST().
|
static |
Definition at line 67 of file Bus_PDO_QueryResourceRequirements.c.
Referenced by AcpiGetCurrentResources(), AcpiGetPossibleResources(), and START_TEST().
|
static |
Definition at line 68 of file Bus_PDO_QueryResourceRequirements.c.
Referenced by AcpiGetCurrentResources(), BlImgAllocateImageBuffer(), CabinetExtractFile(), CKsAllocator::Commit(), CSR_API(), DcCopyPacket(), CCabinet::ExtractFile(), NvNetCopyPacket(), NvNetQueryTcpIpHeaders(), OHCI_MapTransferToTD(), and PciIdeXSetBusData().
|
static |
Definition at line 69 of file Bus_PDO_QueryResourceRequirements.c.
Referenced by AcpiGetPossibleResources(), and START_TEST().