Last change
on this file was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.5 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | ACPI Watchdog Resource Table (WDRT) as defined at
|
---|
3 | Microsoft Windows Hardware Developer Central.
|
---|
4 |
|
---|
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
6 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef _WATCHDOG_RESOURCE_TABLE_H_
|
---|
10 | #define _WATCHDOG_RESOURCE_TABLE_H_
|
---|
11 |
|
---|
12 | #include <IndustryStandard/Acpi.h>
|
---|
13 |
|
---|
14 | //
|
---|
15 | // Ensure proper structure formats
|
---|
16 | //
|
---|
17 | #pragma pack(1)
|
---|
18 |
|
---|
19 | ///
|
---|
20 | /// Watchdog Resource Table definition.
|
---|
21 | ///
|
---|
22 | typedef struct {
|
---|
23 | EFI_ACPI_DESCRIPTION_HEADER Header;
|
---|
24 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE ControlRegisterAddress;
|
---|
25 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE CountRegisterAddress;
|
---|
26 | UINT16 PCIDeviceID;
|
---|
27 | UINT16 PCIVendorID;
|
---|
28 | UINT8 PCIBusNumber;
|
---|
29 | UINT8 PCIDeviceNumber;
|
---|
30 | UINT8 PCIFunctionNumber;
|
---|
31 | UINT8 PCISegment;
|
---|
32 | UINT16 MaxCount;
|
---|
33 | UINT8 Units;
|
---|
34 | } EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE;
|
---|
35 |
|
---|
36 | #pragma pack()
|
---|
37 |
|
---|
38 | //
|
---|
39 | // WDRT Revision (defined in spec)
|
---|
40 | //
|
---|
41 | #define EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE_REVISION 0x01
|
---|
42 |
|
---|
43 | //
|
---|
44 | // WDRT 1.0 Count Unit
|
---|
45 | //
|
---|
46 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_1_SEC_PER_COUNT 1
|
---|
47 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_100_MILLISEC_PER_COUNT 2
|
---|
48 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_10_MILLISEC_PER_COUNT 3
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.