Bewerken

Delen via


PEP_ACPI_INITIALIZE_IOPORT_RESOURCE function (pep_x.h)

The PEP_ACPI_INITIALIZE_IOPORT_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_IO_MEMORY_RESOURCE structure.

Syntax

void PEP_ACPI_INITIALIZE_IOPORT_RESOURCE(
  [in]  UCHAR              Decode,
  [in]  USHORT             MinimumAddress,
  [in]  USHORT             MaximumAddress,
  [in]  UCHAR              Alignment,
  [in]  UCHAR              PortLength,
  [out] PPEP_ACPI_RESOURCE Resource
);

Parameters

[in] Decode

Specifies how to decode the resource address. If bit 0 is a 1, this indicates that the logical device decodes 16-bit addresses. If bit 0 is 0, this indicates that the logical device only decodes the first 10 bits of the address.

Bits 1 to 7 of this parameter are reserved and must be set to zero.

[in] MinimumAddress

Specifies the minimum acceptable starting address for the IO range.

[in] MaximumAddress

Specifies the maximum acceptable starting address for the IO range.

[in] Alignment

Specifies the alignment granularity for the IO address assigned.

[in] PortLength

Specifies the number of bytes in the IO range.

[out] Resource

A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_IO_MEMORY_RESOURCE.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Target Platform Windows
Header pep_x.h (include Pep_x.h)

See also

PEP_ACPI_IO_MEMORY_RESOURCE