XenevaOS
Loading...
Searching...
No Matches
amlresrc.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Module Name: amlresrc.h - AML resource descriptors
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
9 * 1. Copyright Notice
10 *
11 * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp.
12 * All rights reserved.
13 *
14 * 2. License
15 *
16 * 2.1. This is your license from Intel Corp. under its intellectual property
17 * rights. You may have additional license terms from the party that provided
18 * you this software, covering your right to use that party's intellectual
19 * property rights.
20 *
21 * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22 * copy of the source code appearing in this file ("Covered Code") an
23 * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24 * base code distributed originally by Intel ("Original Intel Code") to copy,
25 * make derivatives, distribute, use and display any portion of the Covered
26 * Code in any form, with the right to sublicense such rights; and
27 *
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29 * license (with the right to sublicense), under only those claims of Intel
30 * patents that are infringed by the Original Intel Code, to make, use, sell,
31 * offer to sell, and import the Covered Code and derivative works thereof
32 * solely to the minimum extent necessary to exercise the above copyright
33 * license, and in no event shall the patent license extend to any additions
34 * to or modifications of the Original Intel Code. No other license or right
35 * is granted directly or by implication, estoppel or otherwise;
36 *
37 * The above copyright and patent license is granted only if the following
38 * conditions are met:
39 *
40 * 3. Conditions
41 *
42 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43 * Redistribution of source code of any substantial portion of the Covered
44 * Code or modification with rights to further distribute source must include
45 * the above Copyright Notice, the above License, this list of Conditions,
46 * and the following Disclaimer and Export Compliance provision. In addition,
47 * Licensee must cause all Covered Code to which Licensee contributes to
48 * contain a file documenting the changes Licensee made to create that Covered
49 * Code and the date of any change. Licensee must include in that file the
50 * documentation of any changes made by any predecessor Licensee. Licensee
51 * must include a prominent statement that the modification is derived,
52 * directly or indirectly, from Original Intel Code.
53 *
54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55 * Redistribution of source code of any substantial portion of the Covered
56 * Code or modification without rights to further distribute source must
57 * include the following Disclaimer and Export Compliance provision in the
58 * documentation and/or other materials provided with distribution. In
59 * addition, Licensee may not authorize further sublicense of source of any
60 * portion of the Covered Code, and must include terms to the effect that the
61 * license from Licensee to its licensee is limited to the intellectual
62 * property embodied in the software Licensee provides to its licensee, and
63 * not to intellectual property embodied in modifications its licensee may
64 * make.
65 *
66 * 3.3. Redistribution of Executable. Redistribution in executable form of any
67 * substantial portion of the Covered Code or modification must reproduce the
68 * above Copyright Notice, and the following Disclaimer and Export Compliance
69 * provision in the documentation and/or other materials provided with the
70 * distribution.
71 *
72 * 3.4. Intel retains all right, title, and interest in and to the Original
73 * Intel Code.
74 *
75 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76 * Intel shall be used in advertising or otherwise to promote the sale, use or
77 * other dealings in products derived from or relating to the Covered Code
78 * without prior written authorization from Intel.
79 *
80 * 4. Disclaimer and Export Compliance
81 *
82 * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83 * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84 * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85 * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86 * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87 * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88 * PARTICULAR PURPOSE.
89 *
90 * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92 * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93 * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94 * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95 * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96 * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97 * LIMITED REMEDY.
98 *
99 * 4.3. Licensee shall not export, either directly or indirectly, any of this
100 * software or system incorporating such software without first obtaining any
101 * required license or other approval from the U. S. Department of Commerce or
102 * any other agency or department of the United States Government. In the
103 * event Licensee exports any such software from the United States or
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
106 * compliance with all laws, regulations, orders, or other restrictions of the
107 * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108 * any of its subsidiaries will export/re-export any technical data, process,
109 * software, or service, directly or indirectly, to any country for which the
110 * United States government or any agency thereof requires an export license,
111 * other governmental approval, or letter of assurance, without first obtaining
112 * such license, approval or letter.
113 *
114 *****************************************************************************
115 *
116 * Alternatively, you may choose to be licensed under the terms of the
117 * following license:
118 *
119 * Redistribution and use in source and binary forms, with or without
120 * modification, are permitted provided that the following conditions
121 * are met:
122 * 1. Redistributions of source code must retain the above copyright
123 * notice, this list of conditions, and the following disclaimer,
124 * without modification.
125 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126 * substantially similar to the "NO WARRANTY" disclaimer below
127 * ("Disclaimer") and any redistribution must be conditioned upon
128 * including a substantially similar Disclaimer requirement for further
129 * binary redistribution.
130 * 3. Neither the names of the above-listed copyright holders nor the names
131 * of any contributors may be used to endorse or promote products derived
132 * from this software without specific prior written permission.
133 *
134 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145 *
146 * Alternatively, you may choose to be licensed under the terms of the
147 * GNU General Public License ("GPL") version 2 as published by the Free
148 * Software Foundation.
149 *
150 *****************************************************************************/
151
152/* acpisrc:StructDefs -- for acpisrc conversion */
153
154#ifndef __AMLRESRC_H
155#define __AMLRESRC_H
156
157
158/*
159 * Resource descriptor tags, as defined in the ACPI specification.
160 * Used to symbolically reference fields within a descriptor.
161 */
162#define ACPI_RESTAG_ADDRESS "_ADR"
163#define ACPI_RESTAG_ALIGNMENT "_ALN"
164#define ACPI_RESTAG_ADDRESSSPACE "_ASI"
165#define ACPI_RESTAG_ACCESSSIZE "_ASZ"
166#define ACPI_RESTAG_TYPESPECIFICATTRIBUTES "_ATT"
167#define ACPI_RESTAG_BASEADDRESS "_BAS"
168#define ACPI_RESTAG_BUSMASTER "_BM_" /* Master(1), Slave(0) */
169#define ACPI_RESTAG_DEBOUNCETIME "_DBT"
170#define ACPI_RESTAG_DECODE "_DEC"
171#define ACPI_RESTAG_DEVICEPOLARITY "_DPL"
172#define ACPI_RESTAG_DMA "_DMA"
173#define ACPI_RESTAG_DMATYPE "_TYP" /* Compatible(0), A(1), B(2), F(3) */
174#define ACPI_RESTAG_DRIVESTRENGTH "_DRS"
175#define ACPI_RESTAG_ENDIANNESS "_END"
176#define ACPI_RESTAG_FLOWCONTROL "_FLC"
177#define ACPI_RESTAG_FUNCTION "_FUN"
178#define ACPI_RESTAG_GRANULARITY "_GRA"
179#define ACPI_RESTAG_INTERRUPT "_INT"
180#define ACPI_RESTAG_INTERRUPTLEVEL "_LL_" /* ActiveLo(1), ActiveHi(0) */
181#define ACPI_RESTAG_INTERRUPTSHARE "_SHR" /* Shareable(1), NoShare(0) */
182#define ACPI_RESTAG_INTERRUPTTYPE "_HE_" /* Edge(1), Level(0) */
183#define ACPI_RESTAG_IORESTRICTION "_IOR"
184#define ACPI_RESTAG_LENGTH "_LEN"
185#define ACPI_RESTAG_LINE "_LIN"
186#define ACPI_RESTAG_MEMATTRIBUTES "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */
187#define ACPI_RESTAG_MEMTYPE "_MEM" /* NonCache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */
188#define ACPI_RESTAG_MAXADDR "_MAX"
189#define ACPI_RESTAG_MINADDR "_MIN"
190#define ACPI_RESTAG_MAXTYPE "_MAF"
191#define ACPI_RESTAG_MINTYPE "_MIF"
192#define ACPI_RESTAG_MODE "_MOD"
193#define ACPI_RESTAG_PARITY "_PAR"
194#define ACPI_RESTAG_PHASE "_PHA"
195#define ACPI_RESTAG_PIN "_PIN"
196#define ACPI_RESTAG_PINCONFIG "_PPI"
197#define ACPI_RESTAG_PINCONFIG_TYPE "_TYP"
198#define ACPI_RESTAG_PINCONFIG_VALUE "_VAL"
199#define ACPI_RESTAG_POLARITY "_POL"
200#define ACPI_RESTAG_REGISTERBITOFFSET "_RBO"
201#define ACPI_RESTAG_REGISTERBITWIDTH "_RBW"
202#define ACPI_RESTAG_RANGETYPE "_RNG"
203#define ACPI_RESTAG_READWRITETYPE "_RW_" /* ReadOnly(0), Writeable (1) */
204#define ACPI_RESTAG_LENGTH_RX "_RXL"
205#define ACPI_RESTAG_LENGTH_TX "_TXL"
206#define ACPI_RESTAG_SLAVEMODE "_SLV"
207#define ACPI_RESTAG_SPEED "_SPE"
208#define ACPI_RESTAG_STOPBITS "_STB"
209#define ACPI_RESTAG_TRANSLATION "_TRA"
210#define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */
211#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */
212#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */
213#define ACPI_RESTAG_VENDORDATA "_VEN"
214
215
216/* Default sizes for "small" resource descriptors */
217
218#define ASL_RDESC_IRQ_SIZE 0x02
219#define ASL_RDESC_DMA_SIZE 0x02
220#define ASL_RDESC_ST_DEPEND_SIZE 0x00
221#define ASL_RDESC_END_DEPEND_SIZE 0x00
222#define ASL_RDESC_IO_SIZE 0x07
223#define ASL_RDESC_FIXED_IO_SIZE 0x03
224#define ASL_RDESC_FIXED_DMA_SIZE 0x05
225#define ASL_RDESC_END_TAG_SIZE 0x01
226
227
235
236typedef struct asl_resource_info
237{
238 ACPI_PARSE_OBJECT *DescriptorTypeOp; /* Resource descriptor parse node */
239 ACPI_PARSE_OBJECT *MappingOp; /* Used for mapfile support */
240 UINT32 CurrentByteOffset; /* Offset in resource template */
241
243
244
245/* Macros used to generate AML resource length fields */
246
247#define ACPI_AML_SIZE_LARGE(r) (sizeof (r) - sizeof (AML_RESOURCE_LARGE_HEADER))
248#define ACPI_AML_SIZE_SMALL(r) (sizeof (r) - sizeof (AML_RESOURCE_SMALL_HEADER))
249
250/*
251 * Resource descriptors defined in the ACPI specification.
252 *
253 * Packing/alignment must be BYTE because these descriptors
254 * are used to overlay the raw AML byte stream.
255 */
256#pragma pack(1)
257
258/*
259 * SMALL descriptors
260 */
261#define AML_RESOURCE_SMALL_HEADER_COMMON \
262 UINT8 DescriptorType;
263
269
270
278
279
286
287
295
296
303
304
310
311
317
318
329
330
338
339
345
346
353
354
363
364
365/*
366 * LARGE descriptors
367 */
368#define AML_RESOURCE_LARGE_HEADER_COMMON \
369 UINT8 DescriptorType;\
370 UINT16 ResourceLength;
371
377
378
379/* General Flags for address space resource descriptors */
380
381#define ACPI_RESOURCE_FLAG_DEC 2
382#define ACPI_RESOURCE_FLAG_MIF 4
383#define ACPI_RESOURCE_FLAG_MAF 8
384
395
396
402
403
414
415
424
425
426#define AML_RESOURCE_ADDRESS_COMMON \
427 UINT8 ResourceType; \
428 UINT8 Flags; \
429 UINT8 SpecificFlags;
430
431
438
439
454
455#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION 1 /* ACPI 3.0 */
456
457
469
470
482
483
495
496
498{
503 /* ResSourceIndex, ResSource optional fields follow */
504
506
507
518
519
520/* Common descriptor for GpioInt and GpioIo (ACPI 5.0) */
521
545
546#define AML_RESOURCE_GPIO_REVISION 1 /* ACPI 5.0 */
547
548/* Values for ConnectionType above */
549
550#define AML_RESOURCE_GPIO_TYPE_INT 0
551#define AML_RESOURCE_GPIO_TYPE_IO 1
552#define AML_RESOURCE_MAX_GPIOTYPE 1
553
554
555/* Common preamble for all serial descriptors (ACPI 5.0) */
556
557#define AML_RESOURCE_SERIAL_COMMON \
558 UINT8 RevisionId; \
559 UINT8 ResSourceIndex; \
560 UINT8 Type; \
561 UINT8 Flags; \
562 UINT16 TypeSpecificFlags; \
563 UINT8 TypeRevisionId; \
564 UINT16 TypeDataLength; \
565
566/* Values for the type field above */
567
568#define AML_RESOURCE_I2C_SERIALBUSTYPE 1
569#define AML_RESOURCE_SPI_SERIALBUSTYPE 2
570#define AML_RESOURCE_UART_SERIALBUSTYPE 3
571#define AML_RESOURCE_MAX_SERIALBUSTYPE 3
572#define AML_RESOURCE_VENDOR_SERIALBUSTYPE 192 /* Vendor defined is 0xC0-0xFF (NOT SUPPORTED) */
573
580
582{
587 /*
588 * Optional fields follow immediately:
589 * 1) Vendor Data bytes
590 * 2) Resource Source String
591 */
592
594
595#define AML_RESOURCE_I2C_REVISION 1 /* ACPI 5.0 */
596#define AML_RESOURCE_I2C_TYPE_REVISION 1 /* ACPI 5.0 */
597#define AML_RESOURCE_I2C_MIN_DATA_LEN 6
598
600{
608 /*
609 * Optional fields follow immediately:
610 * 1) Vendor Data bytes
611 * 2) Resource Source String
612 */
613
615
616#define AML_RESOURCE_SPI_REVISION 1 /* ACPI 5.0 */
617#define AML_RESOURCE_SPI_TYPE_REVISION 1 /* ACPI 5.0 */
618#define AML_RESOURCE_SPI_MIN_DATA_LEN 9
619
620
622{
630 /*
631 * Optional fields follow immediately:
632 * 1) Vendor Data bytes
633 * 2) Resource Source String
634 */
635
637
638#define AML_RESOURCE_UART_REVISION 1 /* ACPI 5.0 */
639#define AML_RESOURCE_UART_TYPE_REVISION 1 /* ACPI 5.0 */
640#define AML_RESOURCE_UART_MIN_DATA_LEN 10
641
643{
654 /*
655 * Optional fields follow immediately:
656 * 1) PIN list (Words)
657 * 2) Resource Source String
658 * 3) Vendor Data bytes
659 */
660
662
663#define AML_RESOURCE_PIN_FUNCTION_REVISION 1 /* ACPI 6.2 */
664
666{
677 /*
678 * Optional fields follow immediately:
679 * 1) PIN list (Words)
680 * 2) Resource Source String
681 * 3) Vendor Data bytes
682 */
683
685
686#define AML_RESOURCE_PIN_CONFIG_REVISION 1 /* ACPI 6.2 */
687
689{
697 /*
698 * Optional fields follow immediately:
699 * 1) PIN list (Words)
700 * 2) Resource Label String
701 * 3) Vendor Data bytes
702 */
703
705
706#define AML_RESOURCE_PIN_GROUP_REVISION 1 /* ACPI 6.2 */
707
709{
719 /*
720 * Optional fields follow immediately:
721 * 1) Resource Source String
722 * 2) Resource Source Label String
723 * 3) Vendor Data bytes
724 */
725
727
728#define AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION 1 /* ACPI 6.2 */
729
731{
742 /*
743 * Optional fields follow immediately:
744 * 1) Resource Source String
745 * 2) Resource Source Label String
746 * 3) Vendor Data bytes
747 */
748
750
751#define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION 1 /* ACPI 6.2 */
752
753/* restore default alignment */
754
755#pragma pack()
756
757/* Union of all resource descriptors, so we can allocate the worst case */
758
759typedef union aml_resource
760{
761 /* Descriptor headers */
762
766
767 /* Small resource descriptors */
768
778
779 /* Large resource descriptors */
780
801
802 /* Utility overlays */
803
808
810
811
812/* Interfaces used by both the disassembler and compiler */
813
814void
817 AML_RESOURCE *Resource,
818 UINT32 PinCount,
819 UINT16 *PinList,
820 char *DeviceName);
821
822void
825 AML_RESOURCE *Resource,
826 char *DeviceName);
827
828char *
830 ACPI_NAMESPACE_NODE *HidNode);
831
832char *
834 char *DeviceName);
835
836char *
839 UINT32 PinIndex,
840 ACPI_NAMESPACE_NODE **TargetNode,
841 char **TargetName);
842
843char *
846 ACPI_NAMESPACE_NODE **TargetNode,
847 char **ParentDeviceName);
848
849char *
851 char *DeviceName);
852
853char *
855 ACPI_NAMESPACE_NODE *DeviceNode);
856
857#endif
unsigned int UINT32
Definition ProcessorBind.h:102
unsigned short UINT16
Definition actypes.h:237
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
#define AML_RESOURCE_ADDRESS_COMMON
Definition amlresrc.h:426
char * MpGetHidValue(ACPI_NAMESPACE_NODE *DeviceNode)
struct aml_resource_pin_group AML_RESOURCE_PIN_GROUP
struct aml_resource_extended_irq AML_RESOURCE_EXTENDED_IRQ
struct aml_resource_i2c_serialbus AML_RESOURCE_I2C_SERIALBUS
struct aml_resource_irq_noflags AML_RESOURCE_IRQ_NOFLAGS
struct aml_resource_address64 AML_RESOURCE_ADDRESS64
char * MpGetConnectionInfo(ACPI_PARSE_OBJECT *Op, UINT32 PinIndex, ACPI_NAMESPACE_NODE **TargetNode, char **TargetName)
char * MpGetHidFromParseTree(ACPI_NAMESPACE_NODE *HidNode)
union aml_resource AML_RESOURCE
struct aml_resource_address AML_RESOURCE_ADDRESS
struct aml_resource_end_tag AML_RESOURCE_END_TAG
struct aml_resource_dma AML_RESOURCE_DMA
struct asl_resource_node ASL_RESOURCE_NODE
struct aml_resource_start_dependent_noprio AML_RESOURCE_START_DEPENDENT_NOPRIO
#define AML_RESOURCE_LARGE_HEADER_COMMON
Definition amlresrc.h:368
char * MpGetDdnValue(char *DeviceName)
struct aml_resource_fixed_dma AML_RESOURCE_FIXED_DMA
struct aml_resource_fixed_io AML_RESOURCE_FIXED_IO
struct aml_resource_generic_register AML_RESOURCE_GENERIC_REGISTER
struct aml_resource_gpio AML_RESOURCE_GPIO
struct aml_resource_extended_address64 AML_RESOURCE_EXTENDED_ADDRESS64
struct aml_resource_small_header AML_RESOURCE_SMALL_HEADER
void MpSaveGpioInfo(ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, UINT32 PinCount, UINT16 *PinList, char *DeviceName)
struct aml_resource_common_serialbus AML_RESOURCE_COMMON_SERIALBUS
struct aml_resource_irq AML_RESOURCE_IRQ
#define AML_RESOURCE_SERIAL_COMMON
Definition amlresrc.h:557
struct aml_resource_pin_group_function AML_RESOURCE_PIN_GROUP_FUNCTION
struct aml_resource_io AML_RESOURCE_IO
struct aml_resource_large_header AML_RESOURCE_LARGE_HEADER
struct aml_resource_address16 AML_RESOURCE_ADDRESS16
struct aml_resource_uart_serialbus AML_RESOURCE_UART_SERIALBUS
struct asl_resource_info ASL_RESOURCE_INFO
struct aml_resource_vendor_small AML_RESOURCE_VENDOR_SMALL
struct aml_resource_address32 AML_RESOURCE_ADDRESS32
struct aml_resource_pin_function AML_RESOURCE_PIN_FUNCTION
#define AML_RESOURCE_SMALL_HEADER_COMMON
Definition amlresrc.h:261
struct aml_resource_memory32 AML_RESOURCE_MEMORY32
struct aml_resource_vendor_large AML_RESOURCE_VENDOR_LARGE
char * MpGetParentDeviceHid(ACPI_PARSE_OBJECT *Op, ACPI_NAMESPACE_NODE **TargetNode, char **ParentDeviceName)
struct aml_resource_pin_config AML_RESOURCE_PIN_CONFIG
struct aml_resource_end_dependent AML_RESOURCE_END_DEPENDENT
struct aml_resource_fixed_memory32 AML_RESOURCE_FIXED_MEMORY32
char * MpGetHidViaNamestring(char *DeviceName)
struct aml_resource_memory24 AML_RESOURCE_MEMORY24
struct aml_resource_start_dependent AML_RESOURCE_START_DEPENDENT
struct aml_resource_spi_serialbus AML_RESOURCE_SPI_SERIALBUS
struct aml_resource_pin_group_config AML_RESOURCE_PIN_GROUP_CONFIG
void MpSaveSerialInfo(ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, char *DeviceName)
Definition aclocal.h:294
Definition amlresrc.h:485
UINT16 TranslationOffset
Definition amlresrc.h:491
UINT16 Minimum
Definition amlresrc.h:489
UINT16 AddressLength
Definition amlresrc.h:492
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT16 Granularity
Definition amlresrc.h:488
UINT16 Maximum
Definition amlresrc.h:490
Definition amlresrc.h:472
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT32 Granularity
Definition amlresrc.h:475
UINT32 Maximum
Definition amlresrc.h:477
UINT32 TranslationOffset
Definition amlresrc.h:478
UINT32 Minimum
Definition amlresrc.h:476
UINT32 AddressLength
Definition amlresrc.h:479
Definition amlresrc.h:459
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT64 Granularity
Definition amlresrc.h:462
UINT64 Minimum
Definition amlresrc.h:463
UINT64 TranslationOffset
Definition amlresrc.h:465
UINT64 AddressLength
Definition amlresrc.h:466
UINT64 Maximum
Definition amlresrc.h:464
Definition amlresrc.h:433
Definition amlresrc.h:575
Definition amlresrc.h:289
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 DmaChannelMask
Definition amlresrc.h:291
UINT8 Flags
Definition amlresrc.h:292
Definition amlresrc.h:313
Definition amlresrc.h:348
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Checksum
Definition amlresrc.h:350
Definition amlresrc.h:441
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON UINT8 RevisionID
Definition amlresrc.h:444
UINT8 Reserved
Definition amlresrc.h:445
UINT64 TranslationOffset
Definition amlresrc.h:449
UINT64 Minimum
Definition amlresrc.h:447
UINT64 AddressLength
Definition amlresrc.h:450
UINT64 Maximum
Definition amlresrc.h:448
UINT64 TypeSpecific
Definition amlresrc.h:451
UINT64 Granularity
Definition amlresrc.h:446
Definition amlresrc.h:498
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:500
UINT8 InterruptCount
Definition amlresrc.h:501
UINT32 Interrupts[1]
Definition amlresrc.h:502
Definition amlresrc.h:356
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 RequestLines
Definition amlresrc.h:358
UINT8 Width
Definition amlresrc.h:360
UINT16 Channels
Definition amlresrc.h:359
Definition amlresrc.h:332
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 Address
Definition amlresrc.h:334
UINT8 AddressLength
Definition amlresrc.h:335
Definition amlresrc.h:417
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:419
UINT32 AddressLength
Definition amlresrc.h:421
UINT32 Address
Definition amlresrc.h:420
Definition amlresrc.h:509
UINT8 AccessSize
Definition amlresrc.h:514
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 AddressSpaceId
Definition amlresrc.h:511
UINT8 BitOffset
Definition amlresrc.h:513
UINT64 Address
Definition amlresrc.h:515
UINT8 BitWidth
Definition amlresrc.h:512
Definition amlresrc.h:523
UINT16 PinTableOffset
Definition amlresrc.h:532
UINT16 VendorOffset
Definition amlresrc.h:535
UINT16 DebounceTimeout
Definition amlresrc.h:531
UINT8 PinConfig
Definition amlresrc.h:529
UINT8 ConnectionType
Definition amlresrc.h:526
UINT16 DriveStrength
Definition amlresrc.h:530
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:525
UINT16 VendorLength
Definition amlresrc.h:536
UINT16 Flags
Definition amlresrc.h:527
UINT16 ResSourceOffset
Definition amlresrc.h:534
UINT8 ResSourceIndex
Definition amlresrc.h:533
UINT16 IntFlags
Definition amlresrc.h:528
Definition amlresrc.h:582
UINT16 SlaveAddress
Definition amlresrc.h:586
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 ConnectionSpeed
Definition amlresrc.h:585
Definition amlresrc.h:320
UINT8 Alignment
Definition amlresrc.h:325
UINT16 Maximum
Definition amlresrc.h:324
UINT16 Minimum
Definition amlresrc.h:323
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:322
UINT8 AddressLength
Definition amlresrc.h:326
Definition amlresrc.h:281
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 IrqMask
Definition amlresrc.h:283
Definition amlresrc.h:272
AML_RESOURCE_SMALL_HEADER_COMMON UINT16 IrqMask
Definition amlresrc.h:274
UINT8 Flags
Definition amlresrc.h:275
Definition amlresrc.h:373
Definition amlresrc.h:386
UINT16 Minimum
Definition amlresrc.h:389
UINT16 Alignment
Definition amlresrc.h:391
UINT16 Maximum
Definition amlresrc.h:390
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:388
UINT16 AddressLength
Definition amlresrc.h:392
Definition amlresrc.h:405
UINT32 Minimum
Definition amlresrc.h:408
UINT32 Alignment
Definition amlresrc.h:410
UINT32 Maximum
Definition amlresrc.h:409
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:407
UINT32 AddressLength
Definition amlresrc.h:411
Definition amlresrc.h:666
UINT32 PinConfigValue
Definition amlresrc.h:671
UINT16 VendorOffset
Definition amlresrc.h:675
UINT16 VendorLength
Definition amlresrc.h:676
UINT16 Flags
Definition amlresrc.h:669
UINT8 ResSourceIndex
Definition amlresrc.h:673
UINT16 ResSourceOffset
Definition amlresrc.h:674
UINT16 PinTableOffset
Definition amlresrc.h:672
UINT8 PinConfigType
Definition amlresrc.h:670
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:668
Definition amlresrc.h:643
UINT16 ResSourceOffset
Definition amlresrc.h:651
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:645
UINT8 ResSourceIndex
Definition amlresrc.h:650
UINT16 Flags
Definition amlresrc.h:646
UINT16 PinTableOffset
Definition amlresrc.h:649
UINT16 VendorOffset
Definition amlresrc.h:652
UINT16 VendorLength
Definition amlresrc.h:653
UINT16 FunctionNumber
Definition amlresrc.h:648
UINT8 PinConfig
Definition amlresrc.h:647
Definition amlresrc.h:731
UINT32 PinConfigValue
Definition amlresrc.h:736
UINT16 Flags
Definition amlresrc.h:734
UINT16 ResSourceLabelOffset
Definition amlresrc.h:739
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:733
UINT16 ResSourceOffset
Definition amlresrc.h:738
UINT8 ResSourceIndex
Definition amlresrc.h:737
UINT8 PinConfigType
Definition amlresrc.h:735
UINT16 VendorLength
Definition amlresrc.h:741
UINT16 VendorOffset
Definition amlresrc.h:740
Definition amlresrc.h:709
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:711
UINT16 VendorLength
Definition amlresrc.h:718
UINT16 FunctionNumber
Definition amlresrc.h:713
UINT8 ResSourceIndex
Definition amlresrc.h:714
UINT16 VendorOffset
Definition amlresrc.h:717
UINT16 ResSourceOffset
Definition amlresrc.h:715
UINT16 Flags
Definition amlresrc.h:712
UINT16 ResSourceLabelOffset
Definition amlresrc.h:716
Definition amlresrc.h:689
UINT16 VendorOffset
Definition amlresrc.h:695
UINT16 Flags
Definition amlresrc.h:692
UINT16 PinTableOffset
Definition amlresrc.h:693
UINT16 LabelOffset
Definition amlresrc.h:694
AML_RESOURCE_LARGE_HEADER_COMMON UINT8 RevisionId
Definition amlresrc.h:691
UINT16 VendorLength
Definition amlresrc.h:696
Definition amlresrc.h:265
Definition amlresrc.h:600
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 ConnectionSpeed
Definition amlresrc.h:603
UINT8 ClockPolarity
Definition amlresrc.h:606
UINT16 DeviceSelection
Definition amlresrc.h:607
UINT8 DataBitLength
Definition amlresrc.h:604
UINT8 ClockPhase
Definition amlresrc.h:605
Definition amlresrc.h:306
Definition amlresrc.h:298
AML_RESOURCE_SMALL_HEADER_COMMON UINT8 Flags
Definition amlresrc.h:300
Definition amlresrc.h:622
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_SERIAL_COMMON UINT32 DefaultBaudRate
Definition amlresrc.h:625
UINT16 TxFifoSize
Definition amlresrc.h:627
UINT8 Parity
Definition amlresrc.h:628
UINT8 LinesEnabled
Definition amlresrc.h:629
UINT16 RxFifoSize
Definition amlresrc.h:626
Definition amlresrc.h:398
Definition amlresrc.h:341
Definition amlresrc.h:237
ACPI_PARSE_OBJECT * DescriptorTypeOp
Definition amlresrc.h:238
UINT32 CurrentByteOffset
Definition amlresrc.h:240
ACPI_PARSE_OBJECT * MappingOp
Definition amlresrc.h:239
Definition amlresrc.h:229
UINT32 BufferLength
Definition amlresrc.h:230
struct asl_resource_node * Next
Definition amlresrc.h:232
void * Buffer
Definition amlresrc.h:231
Definition aclocal.h:1185
Definition amlresrc.h:760
AML_RESOURCE_PIN_CONFIG PinConfig
Definition amlresrc.h:797
UINT32 DwordItem
Definition amlresrc.h:805
UINT16 WordItem
Definition amlresrc.h:806
AML_RESOURCE_PIN_GROUP PinGroup
Definition amlresrc.h:798
AML_RESOURCE_EXTENDED_IRQ ExtendedIrq
Definition amlresrc.h:790
AML_RESOURCE_VENDOR_SMALL VendorSmall
Definition amlresrc.h:776
AML_RESOURCE_PIN_GROUP_FUNCTION PinGroupFunction
Definition amlresrc.h:799
AML_RESOURCE_MEMORY32 Memory32
Definition amlresrc.h:784
AML_RESOURCE_FIXED_MEMORY32 FixedMemory32
Definition amlresrc.h:785
AML_RESOURCE_ADDRESS32 Address32
Definition amlresrc.h:787
AML_RESOURCE_I2C_SERIALBUS I2cSerialBus
Definition amlresrc.h:792
AML_RESOURCE_FIXED_IO FixedIo
Definition amlresrc.h:774
AML_RESOURCE_UART_SERIALBUS UartSerialBus
Definition amlresrc.h:794
AML_RESOURCE_IO Io
Definition amlresrc.h:773
AML_RESOURCE_END_DEPENDENT EndDpf
Definition amlresrc.h:772
AML_RESOURCE_MEMORY24 Memory24
Definition amlresrc.h:781
AML_RESOURCE_VENDOR_LARGE VendorLarge
Definition amlresrc.h:783
AML_RESOURCE_SPI_SERIALBUS SpiSerialBus
Definition amlresrc.h:793
AML_RESOURCE_PIN_GROUP_CONFIG PinGroupConfig
Definition amlresrc.h:800
AML_RESOURCE_ADDRESS16 Address16
Definition amlresrc.h:786
AML_RESOURCE_LARGE_HEADER LargeHeader
Definition amlresrc.h:765
AML_RESOURCE_DMA Dma
Definition amlresrc.h:770
AML_RESOURCE_GPIO Gpio
Definition amlresrc.h:791
AML_RESOURCE_END_TAG EndTag
Definition amlresrc.h:777
AML_RESOURCE_START_DEPENDENT StartDpf
Definition amlresrc.h:771
AML_RESOURCE_IRQ Irq
Definition amlresrc.h:769
UINT8 DescriptorType
Definition amlresrc.h:763
AML_RESOURCE_COMMON_SERIALBUS CommonSerialBus
Definition amlresrc.h:795
AML_RESOURCE_FIXED_DMA FixedDma
Definition amlresrc.h:775
AML_RESOURCE_GENERIC_REGISTER GenericReg
Definition amlresrc.h:782
AML_RESOURCE_ADDRESS Address
Definition amlresrc.h:804
AML_RESOURCE_SMALL_HEADER SmallHeader
Definition amlresrc.h:764
AML_RESOURCE_EXTENDED_ADDRESS64 ExtAddress64
Definition amlresrc.h:789
AML_RESOURCE_PIN_FUNCTION PinFunction
Definition amlresrc.h:796
AML_RESOURCE_ADDRESS64 Address64
Definition amlresrc.h:788
UINT8 ByteItem
Definition amlresrc.h:807