]> git.proxmox.com Git - mirror_edk2.git/blame - EdkUnixPkg/Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.msa
remove unnecessary check for NULL pointer.
[mirror_edk2.git] / EdkUnixPkg / Dxe / UnixThunk / Bus / UnixBusDriver / UnixBusDriver.msa
CommitLineData
c9093a06 1<?xml version="1.0" encoding="UTF-8"?>\r
b19cfa69 2<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
c9093a06 3 <MsaHeader>\r
4 <ModuleName>UnixBusDriver</ModuleName>\r
5 <ModuleType>UEFI_DRIVER</ModuleType>\r
6 <GuidValue>f320d656-8985-11db-90e0-0040d02b1835</GuidValue>\r
7 <Version>1.0</Version>\r
8 <Abstract>Unix Bus driver</Abstract>\r
b19cfa69 9 <Description>This following section documents the envirnoment variables for the Win NT
10 build. These variables are used to define the (virtual) hardware
11 configuration of the NT environment</Description>\r
c9093a06 12 <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
b19cfa69 13 <License>All rights reserved. This program and the accompanying materials
14 are licensed and made available under the terms and conditions of the BSD License
15 which accompanies this distribution. The full text of the license may be found at
16 http://opensource.org/licenses/bsd-license.php
17 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
c9093a06 18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
19 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
20 </MsaHeader>\r
21 <ModuleDefinitions>\r
22 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
23 <BinaryModule>false</BinaryModule>\r
24 <OutputFileBasename>UnixBusDriver</OutputFileBasename>\r
25 </ModuleDefinitions>\r
26 <LibraryClassDefinitions>\r
27 <LibraryClass Usage="ALWAYS_CONSUMED">\r
28 <Keyword>DebugLib</Keyword>\r
29 </LibraryClass>\r
30 <LibraryClass Usage="ALWAYS_CONSUMED">\r
31 <Keyword>BaseLib</Keyword>\r
32 </LibraryClass>\r
33 <LibraryClass Usage="ALWAYS_CONSUMED">\r
34 <Keyword>UefiDriverModelLib</Keyword>\r
35 </LibraryClass>\r
36 <LibraryClass Usage="ALWAYS_CONSUMED">\r
37 <Keyword>UefiDriverEntryPoint</Keyword>\r
38 </LibraryClass>\r
39 <LibraryClass Usage="ALWAYS_CONSUMED">\r
40 <Keyword>UefiLib</Keyword>\r
41 </LibraryClass>\r
42 <LibraryClass Usage="ALWAYS_CONSUMED">\r
43 <Keyword>PcdLib</Keyword>\r
44 </LibraryClass>\r
45 <LibraryClass Usage="ALWAYS_CONSUMED">\r
46 <Keyword>BaseMemoryLib</Keyword>\r
47 </LibraryClass>\r
48 <LibraryClass Usage="ALWAYS_CONSUMED">\r
49 <Keyword>MemoryAllocationLib</Keyword>\r
50 </LibraryClass>\r
51 <LibraryClass Usage="ALWAYS_CONSUMED">\r
52 <Keyword>UefiBootServicesTableLib</Keyword>\r
53 </LibraryClass>\r
54 <LibraryClass Usage="ALWAYS_CONSUMED">\r
55 <Keyword>DevicePathLib</Keyword>\r
56 </LibraryClass>\r
57 </LibraryClassDefinitions>\r
58 <SourceFiles>\r
59 <Filename>UnixBusDriver.h</Filename>\r
60 <Filename>UnixBusDriver.c</Filename>\r
61 <Filename>ComponentName.c</Filename>\r
62 </SourceFiles>\r
63 <PackageDependencies>\r
64 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
65 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
66 <Package PackageGuid="f2805c44-8985-11db-9e98-0040d02b1835"/>\r
67 </PackageDependencies>\r
68 <Protocols>\r
69 <Protocol Usage="BY_START">\r
70 <ProtocolCName>gEfiUnixIoProtocolGuid</ProtocolCName>\r
71 </Protocol>\r
72 <Protocol Usage="TO_START">\r
73 <ProtocolCName>gEfiUnixThunkProtocolGuid</ProtocolCName>\r
74 </Protocol>\r
75 <Protocol Usage="TO_START">\r
76 <ProtocolCName>gEfiDevicePathProtocolGuid</ProtocolCName>\r
77 </Protocol>\r
78 <Protocol Usage="ALWAYS_CONSUMED">\r
79 <ProtocolCName>gPcdProtocolGuid</ProtocolCName>\r
80 </Protocol>\r
81 </Protocols>\r
82 <Guids>\r
83 <GuidCNames Usage="ALWAYS_CONSUMED">\r
84 <GuidCName>gEfiUnixVirtualDisksGuid</GuidCName>\r
85 </GuidCNames>\r
86 <GuidCNames Usage="ALWAYS_CONSUMED">\r
87 <GuidCName>gEfiUnixPhysicalDisksGuid</GuidCName>\r
88 </GuidCNames>\r
89 <GuidCNames Usage="ALWAYS_CONSUMED">\r
90 <GuidCName>gEfiUnixFileSystemGuid</GuidCName>\r
91 </GuidCNames>\r
92 <GuidCNames Usage="ALWAYS_CONSUMED">\r
93 <GuidCName>gEfiUnixUgaGuid</GuidCName>\r
94 </GuidCNames>\r
95 <GuidCNames Usage="ALWAYS_CONSUMED">\r
96 <GuidCName>gEfiUnixConsoleGuid</GuidCName>\r
97 </GuidCNames>\r
98 <GuidCNames Usage="ALWAYS_CONSUMED">\r
99 <GuidCName>gEfiUnixMemoryGuid</GuidCName>\r
100 </GuidCNames>\r
101 <GuidCNames Usage="ALWAYS_CONSUMED">\r
102 <GuidCName>gEfiUnixCPUModelGuid</GuidCName>\r
103 </GuidCNames>\r
104 <GuidCNames Usage="ALWAYS_CONSUMED">\r
105 <GuidCName>gEfiUnixCPUSpeedGuid</GuidCName>\r
106 </GuidCNames>\r
b19cfa69 107 <GuidCNames Usage="ALWAYS_CONSUMED">\r
108 <GuidCName>gEfiUnixSerialPortGuid</GuidCName>\r
109 </GuidCNames>\r
c9093a06 110 </Guids>\r
111 <Externs>\r
112 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
113 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
114 <Extern>\r
115 <DriverBinding>gUnixBusDriverBinding</DriverBinding>\r
116 <ComponentName>gUnixBusDriverComponentName</ComponentName>\r
117 </Extern>\r
118 </Externs>\r
119 <PcdCoded>\r
120 <PcdEntry PcdItemType="DYNAMIC">\r
121 <C_Name>PcdUnixConsole</C_Name>\r
122 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 123 <HelpText>This PCD declares the title string of the text console window.
124 such as "My EFI Console".
c9093a06 125 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
126 </PcdEntry>\r
127 <PcdEntry PcdItemType="DYNAMIC">\r
128 <C_Name>PcdUnixUga</C_Name>\r
129 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 130 <HelpText>This PCD declares the resolutions for the UGA windows.
c9093a06 131 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
132 </PcdEntry>\r
133 <PcdEntry PcdItemType="DYNAMIC">\r
134 <C_Name>PcdUnixFileSystem</C_Name>\r
135 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 136 <HelpText>This PCD defines the unix directory who will be mounted as
137 harddisk in simulator.
c9093a06 138 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
139 </PcdEntry>\r
140 <PcdEntry PcdItemType="DYNAMIC">\r
141 <C_Name>PcdUnixVirtualDisk</C_Name>\r
142 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 143 <HelpText>This PCD defines the devices which use a file to emulate a hard disk or
144 removable media device
c9093a06 145 The item type if this PCD can only be "DYNAMIC".</HelpText>\r
146 </PcdEntry>\r
147 <PcdEntry PcdItemType="DYNAMIC">\r
148 <C_Name>PcdUnixPhysicalDisk</C_Name>\r
149 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 150 <HelpText>This PCD defines physical disk which will be simualted as a
151 harddisk in simulator.
c9093a06 152 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
153 </PcdEntry>\r
154 <PcdEntry PcdItemType="DYNAMIC">\r
155 <C_Name>PcdUnixCpuModel</C_Name>\r
156 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 157 <HelpText>This PCD defines simulated CPU model string.
c9093a06 158 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
159 </PcdEntry>\r
160 <PcdEntry PcdItemType="DYNAMIC">\r
161 <C_Name>PcdUnixCpuSpeed</C_Name>\r
162 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
163 <HelpText>This PCD defines simulated CPU speed string.</HelpText>\r
164 </PcdEntry>\r
165 <PcdEntry PcdItemType="DYNAMIC">\r
166 <C_Name>PcdUnixMemorySize</C_Name>\r
167 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
b19cfa69 168 <HelpText>This PCD defines the size of simulated memory size.
c9093a06 169 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
170 </PcdEntry>\r
b19cfa69 171 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">\r
172 <C_Name>PcdUnixSerialPort</C_Name>\r
173 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
174 <HelpText>Simulation serial IO port</HelpText>\r
175 </PcdEntry>\r
c9093a06 176 </PcdCoded>\r
b19cfa69 177</ModuleSurfaceArea>