1## @file
2#  Module that produces EBC Interprete and EBC Debug Support protocols.
3#
4#  This module implements EFI Byte Code (EBC) Virtual Machine that can provide
5#  platform and processor-independent mechanisms for loading and executing EFI
6#  device drivers.
7#
8#  Copyright (c) 2015, The Linux Foundation. All rights reserved.
9#  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
10#  This program and the accompanying materials
11#  are licensed and made available under the terms and conditions of the BSD License
12#  which accompanies this distribution.  The full text of the license may be found at
13#  http://opensource.org/licenses/bsd-license.php
14#
15#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = EbcDxe
23  MODULE_UNI_FILE                = EbcDxe.uni
24  FILE_GUID                      = 13AC6DD0-73D0-11D4-B06B-00AA00BD6DE7
25  MODULE_TYPE                    = DXE_DRIVER
26  VERSION_STRING                 = 1.0
27  ENTRY_POINT                    = InitializeEbcDriver
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 IPF AARCH64
33#
34
35[Sources]
36  EbcDebuggerHook.h
37  EbcDebuggerHook.c
38  EbcExecute.h
39  EbcExecute.c
40  EbcInt.h
41  EbcInt.c
42
43[Sources.Ia32]
44  Ia32/EbcSupport.c
45  Ia32/EbcLowLevel.nasm
46  Ia32/EbcLowLevel.S
47  Ia32/EbcLowLevel.asm
48
49[Sources.X64]
50  X64/EbcSupport.c
51  X64/EbcLowLevel.nasm
52  X64/EbcLowLevel.S
53  X64/EbcLowLevel.asm
54
55[Sources.IPF]
56  Ipf/EbcSupport.h
57  Ipf/EbcSupport.c
58  Ipf/EbcLowLevel.s
59
60[Sources.AARCH64]
61  AArch64/EbcSupport.c
62  AArch64/EbcLowLevel.S
63
64[Packages]
65  MdePkg/MdePkg.dec
66  MdeModulePkg/MdeModulePkg.dec
67
68[LibraryClasses]
69  MemoryAllocationLib
70  UefiBootServicesTableLib
71  BaseMemoryLib
72  UefiDriverEntryPoint
73  DebugLib
74  BaseLib
75
76
77[Protocols]
78  gEfiDebugSupportProtocolGuid                  ## PRODUCES
79  gEfiEbcProtocolGuid                           ## PRODUCES
80  gEfiEbcVmTestProtocolGuid                     ## SOMETIMES_PRODUCES
81  gEfiEbcSimpleDebuggerProtocolGuid             ## SOMETIMES_CONSUMES
82
83[Depex]
84  TRUE
85
86# [Event]
87#
88# Periodic timer event to support EFI debug support protocol for EBC image.
89#
90# EVENT_TYPE_PERIODIC_TIMER ## CONSUMES
91
92[UserExtensions.TianoCore."ExtraFiles"]
93  EbcDxeExtra.uni
94