1 | # $Id: VBoxVariableRuntimeDxe.inf 56292 2015-06-09 14:20:46Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VBoxVariableRuntimeDxe.inf
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2012-2015 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 | ## @file
|
---|
27 | # Sample ACPI Platform Driver
|
---|
28 | #
|
---|
29 | # Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
|
---|
30 | # This program and the accompanying materials
|
---|
31 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
32 | # which accompanies this distribution. The full text of the license may be found at
|
---|
33 | # http://opensource.org/licenses/bsd-license.php
|
---|
34 | #
|
---|
35 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
36 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
37 | #
|
---|
38 | ##
|
---|
39 | ## @file
|
---|
40 | # Emulation Variable for EFI_RUNTIME_SERVICES.
|
---|
41 | #
|
---|
42 | # This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName
|
---|
43 | # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
44 | #
|
---|
45 | # This program and the accompanying materials
|
---|
46 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
47 | # which accompanies this distribution. The full text of the license may be found at
|
---|
48 | # http://opensource.org/licenses/bsd-license.php
|
---|
49 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
50 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
51 | #
|
---|
52 | #
|
---|
53 | ##
|
---|
54 |
|
---|
55 | [Defines]
|
---|
56 | INF_VERSION = 0x00010005
|
---|
57 | BASE_NAME = EmuVariableRuntimeDxe
|
---|
58 | FILE_GUID = f0948bf4-2bcc-4cd3-a8e7-7eb9c451abc0
|
---|
59 | MODULE_TYPE = DXE_RUNTIME_DRIVER
|
---|
60 | VERSION_STRING = 1.0
|
---|
61 | ENTRY_POINT = VariableServiceInitialize
|
---|
62 |
|
---|
63 | #
|
---|
64 | # The following information is for reference only and not required by the build tools.
|
---|
65 | #
|
---|
66 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
67 | #
|
---|
68 |
|
---|
69 | [Sources]
|
---|
70 | InitVariable.c
|
---|
71 | EmuVariable.c
|
---|
72 | Variable.h
|
---|
73 |
|
---|
74 |
|
---|
75 | [Packages]
|
---|
76 | VBoxPkg/VBoxPkg.dec
|
---|
77 | MdePkg/MdePkg.dec
|
---|
78 | MdeModulePkg/MdeModulePkg.dec
|
---|
79 |
|
---|
80 |
|
---|
81 | [LibraryClasses]
|
---|
82 | BaseLib
|
---|
83 | UefiLib
|
---|
84 | UefiBootServicesTableLib
|
---|
85 | UefiDriverEntryPoint
|
---|
86 | UefiRuntimeLib
|
---|
87 | DebugLib
|
---|
88 | MemoryAllocationLib
|
---|
89 | BaseMemoryLib
|
---|
90 | HobLib
|
---|
91 | TimerLib
|
---|
92 |
|
---|
93 |
|
---|
94 | [Protocols]
|
---|
95 | gEfiVariableArchProtocolGuid ## PRODUCES
|
---|
96 | gEfiVariableWriteArchProtocolGuid ## PRODUCES
|
---|
97 |
|
---|
98 | [Guids]
|
---|
99 | gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event
|
---|
100 | gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
|
---|
101 | gEfiVariableGuid
|
---|
102 |
|
---|
103 | [Pcd]
|
---|
104 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
|
---|
105 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
|
---|
106 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
|
---|
107 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
|
---|
108 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics
|
---|
109 | gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
|
---|
110 |
|
---|
111 | [Depex]
|
---|
112 | TRUE
|
---|
113 |
|
---|
114 | # [Event]
|
---|
115 | # ##
|
---|
116 | # # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event.
|
---|
117 | # #
|
---|
118 | # EVENT_TYPE_NOTIFY_SIGNAL ## PRODUCES
|
---|
119 | #
|
---|
120 | #
|
---|
121 |
|
---|
122 | [BuildOptions.common]
|
---|
123 | GCC:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
124 | MSFT:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
125 | INTEL:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
126 |
|
---|