///\r
/// ISA ACPI Protocol MMIO resource attributes\r
///\r
-#define EFI_ISA_ACPI_MEMORY_WIDTH_MASK 0x03 ///< Bit mask of supported ISA memory width attributes.\r
-#define EFI_ISA_ACPI_MEMORY_WIDTH_8_BIT 0x00 ///< ISA MMIO region only supports 8-bit access.\r
-#define EFI_ISA_ACPI_MEMORY_WIDTH_16_BIT 0x01 ///< ISA MMIO region only supports 16-bit access.\r
-#define EFI_ISA_ACPI_MEMORY_WIDTH_8_BIT_AND_16_BIT 0x02 ///< ISA MMIO region supports both 8-bit and 16-bit access.\r
-#define EFI_ISA_ACPI_MEMORY_WRITEABLE 0x04 ///< ISA MMIO region supports write transactions.\r
-#define EFI_ISA_ACPI_MEMORY_CACHEABLE 0x08 ///< ISA MMIO region supports being cached.\r
-#define EFI_ISA_ACPI_MEMORY_SHADOWABLE 0x10 ///< ISA MMIO region may be shadowed.\r
-#define EFI_ISA_ACPI_MEMORY_EXPANSION_ROM 0x20 ///< ISA MMIO region is an expansion ROM.\r
+#define EFI_ISA_ACPI_MEMORY_WIDTH_MASK 0x03 ///< Bit mask of supported ISA memory width attributes.\r
+#define EFI_ISA_ACPI_MEMORY_WIDTH_8_BIT 0x00 ///< ISA MMIO region only supports 8-bit access.\r
+#define EFI_ISA_ACPI_MEMORY_WIDTH_16_BIT 0x01 ///< ISA MMIO region only supports 16-bit access.\r
+#define EFI_ISA_ACPI_MEMORY_WIDTH_8_BIT_AND_16_BIT 0x02 ///< ISA MMIO region supports both 8-bit and 16-bit access.\r
+#define EFI_ISA_ACPI_MEMORY_WRITEABLE 0x04 ///< ISA MMIO region supports write transactions.\r
+#define EFI_ISA_ACPI_MEMORY_CACHEABLE 0x08 ///< ISA MMIO region supports being cached.\r
+#define EFI_ISA_ACPI_MEMORY_SHADOWABLE 0x10 ///< ISA MMIO region may be shadowed.\r
+#define EFI_ISA_ACPI_MEMORY_EXPANSION_ROM 0x20 ///< ISA MMIO region is an expansion ROM.\r
\r
///\r
/// ISA ACPI Protocol I/O resource attributes\r
///\r
-#define EFI_ISA_ACPI_IO_DECODE_10_BITS 0x01 ///< ISA controllers uses a 10-bit address decoder for I/O cycles.\r
-#define EFI_ISA_ACPI_IO_DECODE_16_BITS 0x02 ///< ISA controllers uses a 16-bit address decoder for I/O cycles.\r
+#define EFI_ISA_ACPI_IO_DECODE_10_BITS 0x01 ///< ISA controllers uses a 10-bit address decoder for I/O cycles.\r
+#define EFI_ISA_ACPI_IO_DECODE_16_BITS 0x02 ///< ISA controllers uses a 16-bit address decoder for I/O cycles.\r
\r
///\r
/// EFI ISA ACPI resource type\r
/// EFI ISA ACPI generic resource structure\r
///\r
typedef struct {\r
- EFI_ISA_ACPI_RESOURCE_TYPE Type; ///< The type of resource (I/O, MMIO, DMA, Interrupt).\r
- UINT32 Attribute; ///< Bit mask of attributes associated with this resource. See EFI_ISA_ACPI_xxx macros for valid combinations.\r
- UINT32 StartRange; ///< The start of the resource range.\r
- UINT32 EndRange; ///< The end of the resource range.\r
+ EFI_ISA_ACPI_RESOURCE_TYPE Type; ///< The type of resource (I/O, MMIO, DMA, Interrupt).\r
+ UINT32 Attribute; ///< Bit mask of attributes associated with this resource. See EFI_ISA_ACPI_xxx macros for valid combinations.\r
+ UINT32 StartRange; ///< The start of the resource range.\r
+ UINT32 EndRange; ///< The end of the resource range.\r
} EFI_ISA_ACPI_RESOURCE;\r
\r
///\r
/// EFI ISA ACPI resource device identifier\r
///\r
typedef struct {\r
- UINT32 HID; ///< The ACPI Hardware Identifier value associated with an ISA controller. Matchs ACPI DSDT contents.\r
- UINT32 UID; ///< The ACPI Unique Identifier value associated with an ISA controller. Matches ACPI DSDT contents.\r
+ UINT32 HID; ///< The ACPI Hardware Identifier value associated with an ISA controller. Matchs ACPI DSDT contents.\r
+ UINT32 UID; ///< The ACPI Unique Identifier value associated with an ISA controller. Matches ACPI DSDT contents.\r
} EFI_ISA_ACPI_DEVICE_ID;\r
\r
///\r
/// EFI ISA ACPI resource list\r
///\r
typedef struct {\r
- EFI_ISA_ACPI_DEVICE_ID Device; ///< The ACPI HID/UID associated with an ISA controller.\r
- EFI_ISA_ACPI_RESOURCE *ResourceItem; ///< A pointer to the list of resources associated with an ISA controller.\r
+ EFI_ISA_ACPI_DEVICE_ID Device; ///< The ACPI HID/UID associated with an ISA controller.\r
+ EFI_ISA_ACPI_RESOURCE *ResourceItem; ///< A pointer to the list of resources associated with an ISA controller.\r
} EFI_ISA_ACPI_RESOURCE_LIST;\r
\r
/**\r
/// and assign resources to an ISA controller.\r
///\r
struct _EFI_ISA_ACPI_PROTOCOL {\r
- EFI_ISA_ACPI_DEVICE_ENUMERATE DeviceEnumerate;\r
- EFI_ISA_ACPI_SET_DEVICE_POWER SetPower;\r
- EFI_ISA_ACPI_GET_CUR_RESOURCE GetCurResource;\r
- EFI_ISA_ACPI_GET_POS_RESOURCE GetPosResource;\r
- EFI_ISA_ACPI_SET_RESOURCE SetResource;\r
- EFI_ISA_ACPI_ENABLE_DEVICE EnableDevice;\r
- EFI_ISA_ACPI_INIT_DEVICE InitDevice;\r
- EFI_ISA_ACPI_INTERFACE_INIT InterfaceInit;\r
+ EFI_ISA_ACPI_DEVICE_ENUMERATE DeviceEnumerate;\r
+ EFI_ISA_ACPI_SET_DEVICE_POWER SetPower;\r
+ EFI_ISA_ACPI_GET_CUR_RESOURCE GetCurResource;\r
+ EFI_ISA_ACPI_GET_POS_RESOURCE GetPosResource;\r
+ EFI_ISA_ACPI_SET_RESOURCE SetResource;\r
+ EFI_ISA_ACPI_ENABLE_DEVICE EnableDevice;\r
+ EFI_ISA_ACPI_INIT_DEVICE InitDevice;\r
+ EFI_ISA_ACPI_INTERFACE_INIT InterfaceInit;\r
};\r
\r
-extern EFI_GUID gEfiIsaAcpiProtocolGuid;\r
+extern EFI_GUID gEfiIsaAcpiProtocolGuid;\r
\r
#endif\r