]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/Library/EmuBdsLib/PlatformData.c
Enhance TPM driver to protect TPM physical presence flags.
[mirror_edk2.git] / EmulatorPkg / Library / EmuBdsLib / PlatformData.c
1 /*++ @file
2
3 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
4 Portions copyright (c) 2011, Apple Inc. All rights reserved.
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 #include "BdsPlatform.h"
16
17
18
19 EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
20 {
21 {
22 {
23 HARDWARE_DEVICE_PATH,
24 HW_VENDOR_DP,
25 {
26 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
27 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
28 }
29 },
30 EMU_THUNK_PROTOCOL_GUID
31 },
32 0
33 },
34 {
35 {
36 HARDWARE_DEVICE_PATH,
37 HW_VENDOR_DP,
38 {
39 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
40 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
41 },
42 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
43 },
44 0
45 },
46 gEndEntire
47 };
48
49 //
50 // Predefined platform default console device path
51 //
52 BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
53 {
54 (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath,
55 (CONSOLE_OUT | CONSOLE_IN)
56 },
57 {
58 NULL,
59 0
60 }
61 };
62
63 //
64 // Predefined platform specific driver option
65 //
66 EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };
67
68 //
69 // Predefined platform connect sequence
70 //
71 EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };