47 lines
1.3 KiB
C
47 lines
1.3 KiB
C
/** @file
|
|
Header file for install UEFI ACPI table with BVDT(BIOS Version Date and Time) data.
|
|
;******************************************************************************
|
|
;* Copyright (c) 2012 - 2017, Insyde Software Corp. All Rights Reserved.
|
|
;*
|
|
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
;* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
;* any part of this publication in any form, by any means, without the prior
|
|
;* written permission of Insyde Software Corporation.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
|
|
#ifndef _UEFI_TABLE_H_
|
|
#define _UEFI_TABLE_H_
|
|
|
|
#include <PiDxe.h>
|
|
#include <IndustryStandard/Acpi.h>
|
|
#include <Protocol/AcpiSupport.h>
|
|
#include <Library/FlashRegionLib.h>
|
|
|
|
|
|
|
|
#define UEFI_ACPI_TABLE_INSYDE_BIOS_GUID \
|
|
{ 0x9d4bf935, 0xa674, 0x4710, 0xba, 0x2, 0xbf, 0xa, 0xa1, 0x75, 0x8c, 0x7b }
|
|
|
|
#define UEFI_ACPI_TABLE_SIGNATURE SIGNATURE_32 ('U', 'E', 'F', 'I')
|
|
|
|
#define BVDT_SIZE 0x200
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct {
|
|
EFI_ACPI_DESCRIPTION_HEADER Header;
|
|
EFI_GUID Identifier;
|
|
UINT16 DataOffset;
|
|
} EFI_ACPI_TABLE;
|
|
|
|
#pragma pack()
|
|
|
|
typedef struct {
|
|
EFI_ACPI_TABLE UefiAcpiDataTable;
|
|
UINT8 Data[BVDT_SIZE];
|
|
} EFI_ACPI_UEFI_TABLE;
|
|
|
|
#endif
|