• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Initilizes MemoryOverwriteRequestControl variable
3#
4#  This module will clear MOR_CLEAR_MEMORY_BIT bit if it is set. It will also do
5#  TPer Reset for those encrypted drives through EFI_STORAGE_SECURITY_COMMAND_PROTOCOL
6#  at EndOfDxe.
7#
8# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions of the BSD License
11# which accompanies this distribution. The full text of the license may be found at
12# http://opensource.org/licenses/bsd-license.php
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = TcgMor
21  MODULE_UNI_FILE                = TcgMor.uni
22  FILE_GUID                      = AD416CE3-A483-45b1-94C2-4B4E4D575562
23  MODULE_TYPE                    = DXE_DRIVER
24  VERSION_STRING                 = 1.0
25
26  ENTRY_POINT                    = MorDriverEntryPoint
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
32#
33
34[Sources]
35  TcgMor.c
36  TcgMor.h
37
38[Packages]
39  MdePkg/MdePkg.dec
40  SecurityPkg/SecurityPkg.dec
41
42[LibraryClasses]
43  UefiDriverEntryPoint
44  UefiBootServicesTableLib
45  UefiRuntimeServicesTableLib
46  ReportStatusCodeLib
47  DebugLib
48  UefiLib
49  MemoryAllocationLib
50
51[Guids]
52  ## SOMETIMES_CONSUMES      ## Variable:L"MemoryOverwriteRequestControl"
53  ## PRODUCES                ## Variable:L"MemoryOverwriteRequestControl"
54  gEfiMemoryOverwriteControlDataGuid
55  gEfiEndOfDxeEventGroupGuid                  ## SOMETIMES_CONSUMES    ## Event
56
57[Protocols]
58  gEfiStorageSecurityCommandProtocolGuid      ## SOMETIMES_CONSUMES
59  gEfiBlockIoProtocolGuid                     ## SOMETIMES_CONSUMES
60
61[Depex]
62  gEfiVariableArchProtocolGuid AND
63  gEfiVariableWriteArchProtocolGuid AND
64  ( gEfiTcgProtocolGuid OR gEfiTcg2ProtocolGuid )
65
66[UserExtensions.TianoCore."ExtraFiles"]
67  TcgMorExtra.uni
68