X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Vlv2DeviceRefCodePkg%2FAcpiTablesPCAT%2FPciTree.asl;h=2a57d0f887a1b091af9036071298e1a9b1675a9b;hp=84a7ee21d0252ee1d6c1aa731ea86d6c0054f117;hb=52a99493cce88a9d4ec8a02d7f1bd1a1001ce60d;hpb=d28f77df0f51f84b0af79f09abe2c27b1f1aaa69 diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PciTree.asl b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PciTree.asl index 84a7ee21d0..2a57d0f887 100644 --- a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PciTree.asl +++ b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PciTree.asl @@ -5,7 +5,7 @@ ;* Family of Customer Reference Boards. *; ;* *; ;* *; -;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *; +;* Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved *; ; ; This program and the accompanying materials are licensed and made available under ; the terms and conditions of the BSD License that accompanies this distribution. @@ -21,7 +21,6 @@ Scope(\_SB) { - //RTC Device(RTC) // RTC { @@ -31,6 +30,17 @@ Scope(\_SB) { IO(Decode16,0x70,0x70,0x01,0x08) }) + + Method(_STA,0,Serialized) { + + // + // Report RTC Battery is Prensent or Not Present. + // + If (LEqual(BATT, 1)) { + Return (0xF) + } + Return (0x0) + } } //RTC