]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/PhysicalPresenceDxe/PhysicalPresence.h
63d6f21cae6a683a73d9727a197e1d810c8e9e17
[mirror_edk2.git] / SecurityPkg / Tcg / PhysicalPresenceDxe / PhysicalPresence.h
1 /** @file
2 The header file for TPM physical presence driver.
3
4 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __PHYSICAL_PRESENCE_H__
16 #define __PHYSICAL_PRESENCE_H__
17
18 #include <PiDxe.h>
19
20 #include <Protocol/TcgService.h>
21 #include <Library/DebugLib.h>
22 #include <Library/BaseMemoryLib.h>
23 #include <Library/UefiRuntimeServicesTableLib.h>
24 #include <Library/UefiDriverEntryPoint.h>
25 #include <Library/UefiBootServicesTableLib.h>
26 #include <Library/UefiLib.h>
27 #include <Library/MemoryAllocationLib.h>
28 #include <Library/PrintLib.h>
29 #include <Library/HiiLib.h>
30 #include <Guid/EventGroup.h>
31 #include <Guid/PhysicalPresenceData.h>
32
33 #define TPM_PP_USER_ABORT ((TPM_RESULT)(-0x10))
34 #define TPM_PP_BIOS_FAILURE ((TPM_RESULT)(-0x0f))
35
36 #define CONFIRM_BUFFER_SIZE 4096
37
38 #endif