]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchPcie.asl
BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / PchPcie.asl
1 /**************************************************************************;
2 ;* *;
3 ;* *;
4 ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
5 ;* Family of Customer Reference Boards. *;
6 ;* *;
7 ;* *;
8 ;* Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved *;
9 ;
10 ; This program and the accompanying materials are licensed and made available under
11 ; the terms and conditions of the BSD License that accompanies this distribution.
12 ; The full text of the license may be found at
13 ; http://opensource.org/licenses/bsd-license.php.
14 ;
15 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 ;
18 ;* *;
19 ;* *;
20 ;**************************************************************************/
21
22
23 OperationRegion(PXCS,PCI_Config,0x40,0xC0)
24 Field(PXCS,AnyAcc, NoLock, Preserve)
25 {
26 Offset(0x10), // LCTL - Link Control Register
27 L0SE, 1, // 0, L0s Entry Enabled
28 , 7,
29 Offset(0x12), // LSTS - Link Status Register
30 , 13,
31 LASX, 1, // 0, Link Active Status
32 Offset(0x1A), // SLSTS[7:0] - Slot Status Register
33 ABPX, 1, // 0, Attention Button Pressed
34 , 2,
35 PDCX, 1, // 3, Presence Detect Changed
36 , 2,
37 PDSX, 1, // 6, Presence Detect State
38 , 1,
39 Offset(0x20), // RSTS - Root Status Register
40 , 16,
41 PSPX, 1, // 16, PME Status
42 }
43
44
45 Device(PXSX)
46 {
47 Name(_ADR, 0x00000000)
48
49 // NOTE: Any PCIE Hot-Plug dependency for this port is
50 // specific to the CRB. Please modify the code based on
51 // your platform requirements.
52
53 Name(_PRW, Package() {9,4})
54 }
55
56