ReactOS  0.4.15-dev-5500-g82cf6c2
amlresrc.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Module Name: amlresrc.h - AML resource descriptors
4  *
5  *****************************************************************************/
6 
7 /*
8  * Copyright (C) 2000 - 2022, Intel Corp.
9  * All rights reserved.
10  *
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted provided that the following conditions
13  * are met:
14  * 1. Redistributions of source code must retain the above copyright
15  * notice, this list of conditions, and the following disclaimer,
16  * without modification.
17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18  * substantially similar to the "NO WARRANTY" disclaimer below
19  * ("Disclaimer") and any redistribution must be conditioned upon
20  * including a substantially similar Disclaimer requirement for further
21  * binary redistribution.
22  * 3. Neither the names of the above-listed copyright holders nor the names
23  * of any contributors may be used to endorse or promote products derived
24  * from this software without specific prior written permission.
25  *
26  * Alternatively, this software may be distributed under the terms of the
27  * GNU General Public License ("GPL") version 2 as published by the Free
28  * Software Foundation.
29  *
30  * NO WARRANTY
31  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41  * POSSIBILITY OF SUCH DAMAGES.
42  */
43 
44 /* acpisrc:StructDefs -- for acpisrc conversion */
45 
46 #ifndef __AMLRESRC_H
47 #define __AMLRESRC_H
48 
49 
50 /*
51  * Resource descriptor tags, as defined in the ACPI specification.
52  * Used to symbolically reference fields within a descriptor.
53  */
54 #define ACPI_RESTAG_ADDRESS "_ADR"
55 #define ACPI_RESTAG_ALIGNMENT "_ALN"
56 #define ACPI_RESTAG_ADDRESSSPACE "_ASI"
57 #define ACPI_RESTAG_ACCESSSIZE "_ASZ"
58 #define ACPI_RESTAG_TYPESPECIFICATTRIBUTES "_ATT"
59 #define ACPI_RESTAG_BASEADDRESS "_BAS"
60 #define ACPI_RESTAG_BUSMASTER "_BM_" /* Master(1), Slave(0) */
61 #define ACPI_RESTAG_DEBOUNCETIME "_DBT"
62 #define ACPI_RESTAG_DECODE "_DEC"
63 #define ACPI_RESTAG_DEVICEPOLARITY "_DPL"
64 #define ACPI_RESTAG_DMA "_DMA"
65 #define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */
66 #define ACPI_RESTAG_DRIVESTRENGTH "_DRS"
67 #define ACPI_RESTAG_ENDIANNESS "_END"
68 #define ACPI_RESTAG_FLOWCONTROL "_FLC"
69 #define ACPI_RESTAG_FUNCTION "_FUN"
70 #define ACPI_RESTAG_GRANULARITY "_GRA"
71 #define ACPI_RESTAG_INTERRUPT "_INT"
72 #define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* ActiveLo(1), ActiveHi(0) */
73 #define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), NoShare(0) */
74 #define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */
75 #define ACPI_RESTAG_IORESTRICTION "_IOR"
76 #define ACPI_RESTAG_LENGTH "_LEN"
77 #define ACPI_RESTAG_LINE "_LIN"
78 #define ACPI_RESTAG_LOCALPORT "_PRT"
79 #define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */
80 #define ACPI_RESTAG_MEMTYPE "_MEM" /* NonCache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */
81 #define ACPI_RESTAG_MAXADDR "_MAX"
82 #define ACPI_RESTAG_MINADDR "_MIN"
83 #define ACPI_RESTAG_MAXTYPE "_MAF"
84 #define ACPI_RESTAG_MINTYPE "_MIF"
85 #define ACPI_RESTAG_MODE "_MOD"
86 #define ACPI_RESTAG_PARITY "_PAR"
87 #define ACPI_RESTAG_PHASE "_PHA"
88 #define ACPI_RESTAG_PHYTYPE "_PHY"
89 #define ACPI_RESTAG_PIN "_PIN"
90 #define ACPI_RESTAG_PINCONFIG "_PPI"
91 #define ACPI_RESTAG_PINCONFIG_TYPE "_TYP"
92 #define ACPI_RESTAG_PINCONFIG_VALUE "_VAL"
93 #define ACPI_RESTAG_POLARITY "_POL"
94 #define ACPI_RESTAG_REGISTERBITOFFSET "_RBO"
95 #define ACPI_RESTAG_REGISTERBITWIDTH "_RBW"
96 #define ACPI_RESTAG_RANGETYPE "_RNG"
97 #define ACPI_RESTAG_READWRITETYPE "_RW_" /* ReadOnly(0), Writeable (1) */
98 #define ACPI_RESTAG_LENGTH_RX "_RXL"
99 #define ACPI_RESTAG_LENGTH_TX "_TXL"
100 #define ACPI_RESTAG_SLAVEMODE "_SLV"
101 #define ACPI_RESTAG_SPEED "_SPE"
102 #define ACPI_RESTAG_STOPBITS "_STB"
103 #define ACPI_RESTAG_TRANSLATION "_TRA"
104 #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */
105 #define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */
106 #define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */
107 #define ACPI_RESTAG_VENDORDATA "_VEN"
108 
109 
110 /* Default sizes for "small" resource descriptors */
111 
112 #define ASL_RDESC_IRQ_SIZE 0x02
113 #define ASL_RDESC_DMA_SIZE 0x02
114 #define ASL_RDESC_ST_DEPEND_SIZE 0x00
115 #define ASL_RDESC_END_DEPEND_SIZE 0x00
116 #define ASL_RDESC_IO_SIZE 0x07
117 #define ASL_RDESC_FIXED_IO_SIZE 0x03
118 #define ASL_RDESC_FIXED_DMA_SIZE 0x05
119 #define ASL_RDESC_END_TAG_SIZE 0x01
120 
121 
122 typedef struct asl_resource_node
123 {
125  void *Buffer;
127 
129 
130 typedef struct asl_resource_info
131 {
132  ACPI_PARSE_OBJECT *DescriptorTypeOp; /* Resource descriptor parse node */
133  ACPI_PARSE_OBJECT *MappingOp; /* Used for mapfile support */
134  UINT32 CurrentByteOffset; /* Offset in resource template */
135 
137 
138 
139 /* Macros used to generate AML resource length fields */
140 
141 #define ACPI_AML_SIZE_LARGE(r) (sizeof (r) - sizeof (AML_RESOURCE_LARGE_HEADER))
142 #define ACPI_AML_SIZE_SMALL(r) (sizeof (r) - sizeof (AML_RESOURCE_SMALL_HEADER))
143 
144 /*
145  * Resource descriptors defined in the ACPI specification.
146  *
147  * Packing/alignment must be BYTE because these descriptors
148  * are used to overlay the raw AML byte stream.
149  */
150 #pragma pack(1)
151 
152 /*
153  * SMALL descriptors
154  */
155 #define AML_RESOURCE_SMALL_HEADER_COMMON \
156  UINT8 DescriptorType;
157 
159 {
161 
163 
164 
165 typedef struct aml_resource_irq
166 {
170 
172 
173 
175 {
178 
180 
181 
182 typedef struct aml_resource_dma
183 {
187 
189 
190 
192 {
195 
197 
198 
200 {
202 
204 
205 
207 {
209 
211 
212 
213 typedef struct aml_resource_io
214 {
221 
223 
224 
225 typedef struct aml_resource_fixed_io
226 {
230 
232 
233 
235 {
237 
239 
240 
241 typedef struct aml_resource_end_tag
242 {
245 
247 
248 
250 {
255 
257 
258 
259 /*
260  * LARGE descriptors
261  */
262 #define AML_RESOURCE_LARGE_HEADER_COMMON \
263  UINT8 DescriptorType;\
264  UINT16 ResourceLength;
265 
267 {
269 
271 
272 
273 /* General Flags for address space resource descriptors */
274 
275 #define ACPI_RESOURCE_FLAG_DEC 2
276 #define ACPI_RESOURCE_FLAG_MIF 4
277 #define ACPI_RESOURCE_FLAG_MAF 8
278 
279 typedef struct aml_resource_memory24
280 {
287 
289 
290 
292 {
294 
296 
297 
298 typedef struct aml_resource_memory32
299 {
306 
308 
309 
311 {
316 
318 
319 
320 #define AML_RESOURCE_ADDRESS_COMMON \
321  UINT8 ResourceType; \
322  UINT8 Flags; \
323  UINT8 SpecificFlags;
324 
325 
326 typedef struct aml_resource_address
327 {
330 
332 
333 
335 {
346 
348 
349 #define AML_RESOURCE_EXTENDED_ADDRESS_REVISION 1 /* ACPI 3.0 */
350 
351 
353 {
361 
363 
364 
366 {
374 
376 
377 
379 {
387 
389 
390 
392 {
397  /* ResSourceIndex, ResSource optional fields follow */
398 
400 
401 
403 {
408  UINT8 AccessSize; /* ACPI 3.0, was previously Reserved */
410 
412 
413 
414 /* Common descriptor for GpioInt and GpioIo (ACPI 5.0) */
415 
416 typedef struct aml_resource_gpio
417 {
431  /*
432  * Optional fields follow immediately:
433  * 1) PIN list (Words)
434  * 2) Resource Source String
435  * 3) Vendor Data bytes
436  */
437 
439 
440 #define AML_RESOURCE_GPIO_REVISION 1 /* ACPI 5.0 */
441 
442 /* Values for ConnectionType above */
443 
444 #define AML_RESOURCE_GPIO_TYPE_INT 0
445 #define AML_RESOURCE_GPIO_TYPE_IO 1
446 #define AML_RESOURCE_MAX_GPIOTYPE 1
447 
448 
449 /* Common preamble for all serial descriptors (ACPI 5.0) */
450 
451 #define AML_RESOURCE_SERIAL_COMMON \
452  UINT8 RevisionId; \
453  UINT8 ResSourceIndex; \
454  UINT8 Type; \
455  UINT8 Flags; \
456  UINT16 TypeSpecificFlags; \
457  UINT8 TypeRevisionId; \
458  UINT16 TypeDataLength; \
459 
460 /* Values for the type field above */
461 
462 #define AML_RESOURCE_I2C_SERIALBUSTYPE 1
463 #define AML_RESOURCE_SPI_SERIALBUSTYPE 2
464 #define AML_RESOURCE_UART_SERIALBUSTYPE 3
465 #define AML_RESOURCE_CSI2_SERIALBUSTYPE 4
466 #define AML_RESOURCE_MAX_SERIALBUSTYPE 4
467 #define AML_RESOURCE_VENDOR_SERIALBUSTYPE 192 /* Vendor defined is 0xC0-0xFF (NOT SUPPORTED) */
468 
470 {
473 
475 
476 
478 {
481 
482  /*
483  * Optional fields follow immediately:
484  * 1) Vendor Data bytes
485  * 2) Resource Source String
486  */
487 
489 
490 #define AML_RESOURCE_CSI2_REVISION 1 /* ACPI 6.4 */
491 #define AML_RESOURCE_CSI2_TYPE_REVISION 1 /* ACPI 6.4 */
492 #define AML_RESOURCE_CSI2_MIN_DATA_LEN 0 /* ACPI 6.4 */
493 
495 {
500  /*
501  * Optional fields follow immediately:
502  * 1) Vendor Data bytes
503  * 2) Resource Source String
504  */
505 
507 
508 #define AML_RESOURCE_I2C_REVISION 1 /* ACPI 5.0 */
509 #define AML_RESOURCE_I2C_TYPE_REVISION 1 /* ACPI 5.0 */
510 #define AML_RESOURCE_I2C_MIN_DATA_LEN 6
511 
513 {
521  /*
522  * Optional fields follow immediately:
523  * 1) Vendor Data bytes
524  * 2) Resource Source String
525  */
526 
528 
529 #define AML_RESOURCE_SPI_REVISION 1 /* ACPI 5.0 */
530 #define AML_RESOURCE_SPI_TYPE_REVISION 1 /* ACPI 5.0 */
531 #define AML_RESOURCE_SPI_MIN_DATA_LEN 9
532 
534 {
542  /*
543  * Optional fields follow immediately:
544  * 1) Vendor Data bytes
545  * 2) Resource Source String
546  */
547 
549 
550 #define AML_RESOURCE_UART_REVISION 1 /* ACPI 5.0 */
551 #define AML_RESOURCE_UART_TYPE_REVISION 1 /* ACPI 5.0 */
552 #define AML_RESOURCE_UART_MIN_DATA_LEN 10
553 
555 {
566  /*
567  * Optional fields follow immediately:
568  * 1) PIN list (Words)
569  * 2) Resource Source String
570  * 3) Vendor Data bytes
571  */
572 
574 
575 #define AML_RESOURCE_PIN_FUNCTION_REVISION 1 /* ACPI 6.2 */
576 
578 {
589  /*
590  * Optional fields follow immediately:
591  * 1) PIN list (Words)
592  * 2) Resource Source String
593  * 3) Vendor Data bytes
594  */
595 
597 
598 #define AML_RESOURCE_PIN_CONFIG_REVISION 1 /* ACPI 6.2 */
599 
601 {
609  /*
610  * Optional fields follow immediately:
611  * 1) PIN list (Words)
612  * 2) Resource Label String
613  * 3) Vendor Data bytes
614  */
615 
617 
618 #define AML_RESOURCE_PIN_GROUP_REVISION 1 /* ACPI 6.2 */
619 
621 {
631  /*
632  * Optional fields follow immediately:
633  * 1) Resource Source String
634  * 2) Resource Source Label String
635  * 3) Vendor Data bytes
636  */
637 
639 
640 #define AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION 1 /* ACPI 6.2 */
641 
643 {
654  /*
655  * Optional fields follow immediately:
656  * 1) Resource Source String
657  * 2) Resource Source Label String
658  * 3) Vendor Data bytes
659  */
660 
662 
663 #define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION 1 /* ACPI 6.2 */
664 
665 /* restore default alignment */
666 
667 #pragma pack()
668 
669 /* Union of all resource descriptors, so we can allocate the worst case */
670 
671 typedef union aml_resource
672 {
673  /* Descriptor headers */
674 
678 
679  /* Small resource descriptors */
680 
690 
691  /* Large resource descriptors */
692 
714 
715  /* Utility overlays */
716 
721 
722 } AML_RESOURCE;
723 
724 
725 /* Interfaces used by both the disassembler and compiler */
726 
727 void
729  ACPI_PARSE_OBJECT *Op,
732  UINT16 *PinList,
733  char *DeviceName);
734 
735 void
737  ACPI_PARSE_OBJECT *Op,
739  char *DeviceName);
740 
741 char *
743  ACPI_NAMESPACE_NODE *HidNode);
744 
745 char *
747  char *DeviceName);
748 
749 char *
751  ACPI_PARSE_OBJECT *Op,
752  UINT32 PinIndex,
753  ACPI_NAMESPACE_NODE **TargetNode,
754  char **TargetName);
755 
756 char *
758  ACPI_PARSE_OBJECT *Op,
759  ACPI_NAMESPACE_NODE **TargetNode,
760  char **ParentDeviceName);
761 
762 char *
764  char *DeviceName);
765 
766 char *
769 
770 #endif
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT8 RevisionID
Definition: amlresrc.h:338
struct aml_resource_start_dependent AML_RESOURCE_START_DEPENDENT
struct aml_resource_spi_serialbus AML_RESOURCE_SPI_SERIALBUS
void MpSaveSerialInfo(ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, char *DeviceName)
struct aml_resource_fixed_io AML_RESOURCE_FIXED_IO
struct aml_resource_generic_register AML_RESOURCE_GENERIC_REGISTER
AML_RESOURCE_ADDRESS64 Address64
Definition: amlresrc.h:700
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:194
AML_RESOURCE_SPI_SERIALBUS SpiSerialBus
Definition: amlresrc.h:705
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Checksum
Definition: amlresrc.h:244
AML_RESOURCE_END_TAG EndTag
Definition: amlresrc.h:689
AML_RESOURCE_PIN_GROUP PinGroup
Definition: amlresrc.h:711
#define AML_RESOURCE_LARGE_HEADER_COMMON
Definition: amlresrc.h:262
UINT16 DriveStrength
Definition: amlresrc.h:424
AML_RESOURCE_FIXED_MEMORY32 FixedMemory32
Definition: amlresrc.h:697
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT64 Granularity
Definition: amlresrc.h:356
struct aml_resource_extended_address64 AML_RESOURCE_EXTENDED_ADDRESS64
struct aml_resource_pin_group AML_RESOURCE_PIN_GROUP
UINT8 ResSourceIndex
Definition: amlresrc.h:427
struct aml_resource_address AML_RESOURCE_ADDRESS
char * MpGetDdnValue(char *DeviceName)
struct aml_resource_irq_noflags AML_RESOURCE_IRQ_NOFLAGS
UINT16 DebounceTimeout
Definition: amlresrc.h:425
struct aml_resource_address64 AML_RESOURCE_ADDRESS64
AML_RESOURCE_PIN_FUNCTION PinFunction
Definition: amlresrc.h:709
struct aml_resource_large_header AML_RESOURCE_LARGE_HEADER
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:282
struct aml_resource_pin_config AML_RESOURCE_PIN_CONFIG
AML_RESOURCE_PIN_GROUP_FUNCTION PinGroupFunction
Definition: amlresrc.h:712
AML_RESOURCE_EXTENDED_ADDRESS64 ExtAddress64
Definition: amlresrc.h:701
AML_RESOURCE_CSI2_SERIALBUS Csi2SerialBus
Definition: amlresrc.h:707
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:419
#define AML_RESOURCE_ADDRESS_COMMON
Definition: amlresrc.h:320
UINT8 AddressLength
Definition: amlresrc.h:220
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:301
_In_ const GUID _In_ ULONG PinCount
Definition: strmini.h:504
struct aml_resource_pin_group_function AML_RESOURCE_PIN_GROUP_FUNCTION
AML_RESOURCE_IO Io
Definition: amlresrc.h:685
AML_RESOURCE_FIXED_IO FixedIo
Definition: amlresrc.h:686
struct aml_resource_memory32 AML_RESOURCE_MEMORY32
struct aml_resource_irq AML_RESOURCE_IRQ
ACPI_PARSE_OBJECT * DescriptorTypeOp
Definition: amlresrc.h:132
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 DmaChannelMask
Definition: amlresrc.h:185
struct aml_resource_memory24 AML_RESOURCE_MEMORY24
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3272
AML_RESOURCE_MEMORY32 Memory32
Definition: amlresrc.h:696
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
Definition: cdprocs.h:843
unsigned int UINT32
AML_RESOURCE_UART_SERIALBUS UartSerialBus
Definition: amlresrc.h:706
struct aml_resource_gpio AML_RESOURCE_GPIO
AML_RESOURCE_I2C_SERIALBUS I2cSerialBus
Definition: amlresrc.h:704
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:313
struct aml_resource_extended_irq AML_RESOURCE_EXTENDED_IRQ
#define AML_RESOURCE_SMALL_HEADER_COMMON
Definition: amlresrc.h:155
void MpSaveGpioInfo(ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, UINT32 PinCount, UINT16 *PinList, char *DeviceName)
AML_RESOURCE_START_DEPENDENT StartDpf
Definition: amlresrc.h:683
AML_RESOURCE_COMMON_SERIALBUS CommonSerialBus
Definition: amlresrc.h:708
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 IrqMask
Definition: amlresrc.h:177
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:557
struct asl_resource_node * Next
Definition: amlresrc.h:126
struct aml_resource_vendor_small AML_RESOURCE_VENDOR_SMALL
UINT32 DwordItem
Definition: amlresrc.h:718
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:394
UINT8 DescriptorType
Definition: amlresrc.h:675
struct aml_resource_fixed_memory32 AML_RESOURCE_FIXED_MEMORY32
UINT16 WordItem
Definition: amlresrc.h:719
UINT16 PinTableOffset
Definition: amlresrc.h:426
struct aml_resource_pin_group_config AML_RESOURCE_PIN_GROUP_CONFIG
UINT8 ConnectionType
Definition: amlresrc.h:420
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT16 Granularity
Definition: amlresrc.h:382
AML_RESOURCE_MEMORY24 Memory24
Definition: amlresrc.h:693
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:623
struct aml_resource_common_serialbus AML_RESOURCE_COMMON_SERIALBUS
ACPI_PARSE_OBJECT * MappingOp
Definition: amlresrc.h:133
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 ConnectionSpeed
Definition: amlresrc.h:516
AML_RESOURCE_IRQ Irq
Definition: amlresrc.h:681
struct aml_resource_start_dependent_noprio AML_RESOURCE_START_DEPENDENT_NOPRIO
AML_RESOURCE_LARGE_HEADER LargeHeader
Definition: amlresrc.h:677
AML_RESOURCE_ADDRESS32 Address32
Definition: amlresrc.h:699
struct aml_resource_pin_function AML_RESOURCE_PIN_FUNCTION
char * MpGetHidViaNamestring(char *DeviceName)
char * MpGetParentDeviceHid(ACPI_PARSE_OBJECT *Op, ACPI_NAMESPACE_NODE **TargetNode, char **ParentDeviceName)
struct aml_resource_io AML_RESOURCE_IO
UINT16 Maximum
Definition: amlresrc.h:218
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 DefaultBaudRate
Definition: amlresrc.h:537
Definition: Node.h:9
struct aml_resource_dma AML_RESOURCE_DMA
char * MpGetConnectionInfo(ACPI_PARSE_OBJECT *Op, UINT32 PinIndex, ACPI_NAMESPACE_NODE **TargetNode, char **TargetName)
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 AddressSpaceId
Definition: amlresrc.h:405
struct aml_resource_csi2_serialbus AML_RESOURCE_CSI2_SERIALBUS
AML_RESOURCE_SMALL_HEADER SmallHeader
Definition: amlresrc.h:676
AML_RESOURCE_PIN_GROUP_CONFIG PinGroupConfig
Definition: amlresrc.h:713
AML_RESOURCE_FIXED_DMA FixedDma
Definition: amlresrc.h:687
struct aml_resource_uart_serialbus AML_RESOURCE_UART_SERIALBUS
char * MpGetHidValue(ACPI_NAMESPACE_NODE *DeviceNode)
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 IrqMask
Definition: amlresrc.h:168
UINT16 Minimum
Definition: amlresrc.h:217
WCHAR TargetName[256]
Definition: arping.c:27
AML_RESOURCE_GENERIC_REGISTER GenericReg
Definition: amlresrc.h:694
AML_RESOURCE_ADDRESS16 Address16
Definition: amlresrc.h:698
AML_RESOURCE_PIN_CONFIG PinConfig
Definition: amlresrc.h:710
UINT16 VendorLength
Definition: amlresrc.h:430
struct asl_resource_info ASL_RESOURCE_INFO
AML_RESOURCE_END_DEPENDENT EndDpf
Definition: amlresrc.h:684
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Flags
Definition: amlresrc.h:216
UINT32 CurrentByteOffset
Definition: amlresrc.h:134
struct aml_resource_i2c_serialbus AML_RESOURCE_I2C_SERIALBUS
struct aml_resource_fixed_dma AML_RESOURCE_FIXED_DMA
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT32 Granularity
Definition: amlresrc.h:369
struct aml_resource_vendor_large AML_RESOURCE_VENDOR_LARGE
AML_RESOURCE_VENDOR_LARGE VendorLarge
Definition: amlresrc.h:695
unsigned short UINT16
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:645
AML_RESOURCE_VENDOR_SMALL VendorSmall
Definition: amlresrc.h:688
struct aml_resource_address32 AML_RESOURCE_ADDRESS32
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:603
union aml_resource AML_RESOURCE
struct asl_resource_node ASL_RESOURCE_NODE
char * MpGetHidFromParseTree(ACPI_NAMESPACE_NODE *HidNode)
AML_RESOURCE_ADDRESS Address
Definition: amlresrc.h:717
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 ConnectionSpeed
Definition: amlresrc.h:498
struct aml_resource_small_header AML_RESOURCE_SMALL_HEADER
AML_RESOURCE_EXTENDED_IRQ ExtendedIrq
Definition: amlresrc.h:702
UINT8 ByteItem
Definition: amlresrc.h:720
#define AML_RESOURCE_SERIAL_COMMON
Definition: amlresrc.h:451
UINT16 ResSourceOffset
Definition: amlresrc.h:428
UINT8 Alignment
Definition: amlresrc.h:219
AML_RESOURCE_DMA Dma
Definition: amlresrc.h:682
struct aml_resource_end_tag AML_RESOURCE_END_TAG
unsigned long long UINT64
UINT32 BufferLength
Definition: amlresrc.h:124
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 RequestLines
Definition: amlresrc.h:252
struct aml_resource_address16 AML_RESOURCE_ADDRESS16
UINT16 VendorOffset
Definition: amlresrc.h:429
unsigned char UINT8
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition: amlresrc.h:580
AML_RESOURCE_GPIO Gpio
Definition: amlresrc.h:703
struct aml_resource_end_dependent AML_RESOURCE_END_DEPENDENT
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 Address
Definition: amlresrc.h:228