Turnstone Operating System
Loading...
Searching...
No Matches
aml_resource.h File Reference

ACPI AML Resource header. More...

#include <types.h>
#include <acpi/aml.h>

Classes

struct  acpi_aml_resource_memory_flag_t
 
struct  acpi_aml_resource_io_flag_t
 
struct  acpi_aml_resource_bus_number_flag_t
 
union  acpi_aml_resource_type_specific_flag_t
 
struct  acpi_aml_resource_smallitem_t
 
struct  acpi_aml_resource_largeitem_t
 
struct  acpi_aml_resource_type_identifier_t
 
union  acpi_aml_resource_t
 

Macros

#define ___ACPI_AML_RESOURCE_H   0
 

Enumerations

enum  acpi_aml_resource_type_t { ACPI_AML_RESOURCE_SMALLITEM =0 , ACPI_AML_RESOURCE_LARGEITEM }
 
enum  acpi_aml_resource_smallitem_name_t {
  ACPI_AML_RESOURCE_SMALLITEM_IRQ =4 , ACPI_AML_RESOURCE_SMALLITEM_DMA =5 , ACPI_AML_RESOURCE_SMALLITEM_START_DEPFUNC =6 , ACPI_AML_RESOURCE_SMALLITEM_END_DEPFUNC =7 ,
  ACPI_AML_RESOURCE_SMALLITEM_IO =8 , ACPI_AML_RESOURCE_SMALLITEM_FIXEDIO =9 , ACPI_AML_RESOURCE_SMALLITEM_FIXEDDMA =10 , ACPI_AML_RESOURCE_SMALLITEM_VENDOR =14 ,
  ACPI_AML_RESOURCE_SMALLITEM_ENDTAG =15
}
 
enum  acpi_aml_resource_largeitem_name_t {
  ACPI_AML_RESOURCE_LARGEITEM_24BIT_MEMORY_RANGE =1 , ACPI_AML_RESOURCE_LARGEITEM_GENERIC_REGISTER =2 , ACPI_AML_RESOURCE_LARGEITEM_VENDOR =4 , ACPI_AML_RESOURCE_LARGEITEM_32BIT_MEMORY_RANGE =5 ,
  ACPI_AML_RESOURCE_LARGEITEM_32BIT_FIXEDMEMORY_RANGE =6 , ACPI_AML_RESOURCE_LARGEITEM_DWORD_ADDRESS_SPACE =7 , ACPI_AML_RESOURCE_LARGEITEM_WORD_ADDRESS_SPACE =8 , ACPI_AML_RESOURCE_LARGEITEM_EXTENDED_INTERRUPT =9 ,
  ACPI_AML_RESOURCE_LARGEITEM_QWORD_ADDRESS_SPACE =10 , ACPI_AML_RESOURCE_LARGEITEM_EXTENDED_ADDRESS_SPACE =11 , ACPI_AML_RESOURCE_LARGEITEM_GPIO_CONNECTION =12 , ACPI_AML_RESOURCE_LARGEITEM_PIN_FUNCTION =13 ,
  ACPI_AML_RESOURCE_LARGEITEM_GENERIC_SERIAL_BUS_CONNECTION =14 , ACPI_AML_RESOURCE_LARGEITEM_PIN_CONFIGURATION =15 , ACPI_AML_RESOURCE_LARGEITEM_PIN_GROUP =16 , ACPI_AML_RESOURCE_LARGEITEM_PIN_GROUP_FUNCTION =17 ,
  ACPI_AML_RESOURCE_LARGEITEM_PIN_GROUP_CONFIGURATION =18
}
 
enum  acpi_aml_resource_word_address_space_type_t { ACPI_AML_RESOURCE_WORD_ADDRESS_SPACE_TYPE_MEMORY =0 , ACPI_AML_RESOURCE_WORD_ADDRESS_SPACE_TYPE_IO =1 , ACPI_AML_RESOURCE_WORD_ADDRESS_SPACE_TYPE_BUS =2 }
 
enum  acpi_aml_resource_address_space_id_t {
  ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_MEMORY =0 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_IO =1 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_PCI_CONF_SPACE =2 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_EMBEDED_CONTROLLER =3 ,
  ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_SMBUS =4 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_CMOS =5 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_PCI_BAR_TARGET =6 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_IPMI =7 ,
  ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_GPIO =8 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_SERIALBUS =9 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_PCC =10 , ACPI_AML_RESOURCE_ADDRESS_SPACE_ID_FUNCTIONAL_FIXED_HARDWARE =0X7F
}
 
enum  acpi_aml_resource_access_size_t {
  ACPI_AML_RESOURCE_ACCESS_SIZE_UNDEFINED =0 , ACPI_AML_RESOURCE_ACCESS_SIZE_BYTE =1 , ACPI_AML_RESOURCE_ACCESS_SIZE_WORD =2 , ACPI_AML_RESOURCE_ACCESS_SIZE_DWORD =3 ,
  ACPI_AML_RESOURCE_ACCESS_SIZE_QWORD =4
}
 

Functions

int32_t acpi_aml_resource_parse (acpi_aml_parser_context_t *ctx, acpi_aml_device_t *device, acpi_aml_object_t *buffer)
 

Detailed Description

ACPI AML Resource header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.