summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/Debugger/Debugport/Dxe/DebugPort.msa
blob: 3e4ef3ceeb37dd002e6e343534f1919719971e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MsaHeader>
    <ModuleName>DebugPort</ModuleName>
    <ModuleType>UEFI_DRIVER</ModuleType>
    <GuidValue>73E9457A-CEA1-4917-9A9C-9F1F0F0FD322</GuidValue>
    <Version>1.0</Version>
    <Abstract>Component description file for DebugPort module.</Abstract>
    <Description>This driver binds exclusively to serial io on the controller handle, 
      and initializes serial Io interface, publishs DebugPort and device path Protocol.</Description>
    <Copyright>Copyright (c) 2006 - 2007, Intel Corporation</Copyright>
    <License>All rights reserved. This program and the accompanying materials
      are licensed and made available under the terms and conditions of the BSD License
      which accompanies this distribution.  The full text of the license may be found at
      http://opensource.org/licenses/bsd-license.php
      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
      WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
    <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>
  </MsaHeader>
  <ModuleDefinitions>
    <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
    <BinaryModule>false</BinaryModule>
    <OutputFileBasename>DebugPort</OutputFileBasename>
  </ModuleDefinitions>
  <LibraryClassDefinitions>
    <LibraryClass Usage="ALWAYS_CONSUMED" RecommendedInstanceGuid="bda39d3a-451b-4350-8266-81ab10fa0523">
      <Keyword>DebugLib</Keyword>
      <HelpText>Recommended libary Instance is PeiDxeDebugLibReportStatusCode instance in MdePkg.</HelpText>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiDriverModelLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiDriverEntryPoint</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>BaseMemoryLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>MemoryAllocationLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiBootServicesTableLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiRuntimeServicesTableLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>DevicePathLib</Keyword>
    </LibraryClass>
  </LibraryClassDefinitions>
  <SourceFiles>
    <Filename>DebugPort.h</Filename>
    <Filename>DebugPort.c</Filename>
    <Filename>ComponentName.c</Filename>
    <Filename>DebugPort.dxs</Filename>
  </SourceFiles>
  <PackageDependencies>
    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
  </PackageDependencies>
  <Protocols>
    <Protocol Usage="BY_START">
      <ProtocolCName>gEfiDebugPortProtocolGuid</ProtocolCName>
      <HelpText>gEfiDebugPortVariableGuid, gEfiDebugPortDevicePathGuid are 
        both the alias of gEfiDebugPortProtocolGuid. They are not separate guid variables,
        which are not required to be described in the followin Guids section.</HelpText>
    </Protocol>
    <Protocol Usage="BY_START">
      <ProtocolCName>gEfiDevicePathProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiSerialIoProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="ALWAYS_CONSUMED">
      <ProtocolCName>gEfiComponentNameProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="ALWAYS_CONSUMED">
      <ProtocolCName>gEfiDriverBindingProtocolGuid</ProtocolCName>
    </Protocol>
  </Protocols>
  <Variables>
    <Variable Usage="SOMETIMES_CONSUMED">
      <VariableName>0x0044 0x0045 0x0042 0x0055 0x0047 0x0050 0x004F 0x0052 0x0054</VariableName>
      <GuidC_Name>gEfiDebugPortProtocolGuid</GuidC_Name>
      <HelpText>L"DEBUGPORT" variable is specified. gEfiDebugPortVariableGuid is
       one virtual guid, which can't be described in this section. 
       So gEfiDebugPortProtocolGuid name is instead of it.</HelpText>
    </Variable>
  </Variables>
  <Externs>
    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
    <Extern>
      <ModuleEntryPoint>InitializeDebugPortDriver</ModuleEntryPoint>
    </Extern>
    <Extern>
      <ModuleUnloadImage>ImageUnloadHandler</ModuleUnloadImage>
    </Extern>
    <Extern>
      <DriverBinding>gDebugPortDriverBinding</DriverBinding>
      <ComponentName>gDebugPortComponentName</ComponentName>
    </Extern>
  </Externs>
</ModuleSurfaceArea>