1#/** @file
2# UEFI GDB stub
3#
4# This is a shell application that will display Hello World.
5# Copyright (c) 2008, Apple Inc. All rights reserved.<BR>
6#
7#  This program and the accompanying materials
8#  are licensed and made available under the terms and conditions of the BSD License
9#  which accompanies this distribution. The full text of the license may be found at
10#  http://opensource.org/licenses/bsd-license.php
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#
15#**/
16
17################################################################################
18#
19# Defines Section - statements that will be processed to create a Makefile.
20#
21################################################################################
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = GdbStub
25  FILE_GUID                      = 1F2CCB4F-D817-404E-98E7-80E4851FB33E
26  MODULE_TYPE                    = UEFI_DRIVER
27  VERSION_STRING                 = 1.0
28
29  ENTRY_POINT                    = GdbStubEntry
30
31[Sources.common]
32  GdbStub.c
33  SerialIo.c
34
35[Sources.ARM]
36  Arm/Processor.c
37
38[Sources.IA32]
39  Ia32/Processor.c
40
41[Sources.X64]
42  X64/Processor.c
43
44
45[Packages]
46  MdePkg/MdePkg.dec
47  EmbeddedPkg/EmbeddedPkg.dec
48
49[LibraryClasses]
50  BaseLib
51  DebugLib
52  UefiLib
53  UefiDriverEntryPoint
54  UefiBootServicesTableLib
55  UefiRuntimeServicesTableLib
56  BaseMemoryLib
57  MemoryAllocationLib
58  DevicePathLib
59  PcdLib
60  GdbSerialLib
61  PrintLib
62  CacheMaintenanceLib
63
64
65[Protocols]
66  gEfiDebugSupportProtocolGuid
67  gEfiDebugPortProtocolGuid
68  gEfiSerialIoProtocolGuid
69
70[Guids]
71  gEfiDebugImageInfoTableGuid
72
73[FeaturePcd.common]
74  gEmbeddedTokenSpaceGuid.PcdGdbSerial
75
76[FixedPcd.common]
77  gEmbeddedTokenSpaceGuid.PcdGdbMaxPacketRetryCount
78