summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/EdkUnixPkg.spd
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-05-30 07:22:41 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-05-30 07:22:41 +0000
commitb19cfa69e7c2da5bb1a976ef0ca5c9d21a287695 (patch)
treefc18932d4fa561da545efdf52d44c8d18c767209 /EdkUnixPkg/EdkUnixPkg.spd
parentd756d2e73917d24208200d342c4705d6dcfae09d (diff)
downloadedk2-platforms-b19cfa69e7c2da5bb1a976ef0ca5c9d21a287695.tar.xz
Add emulated serialIo device driver for EdkUnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2605 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/EdkUnixPkg.spd')
-rw-r--r--EdkUnixPkg/EdkUnixPkg.spd81
1 files changed, 43 insertions, 38 deletions
diff --git a/EdkUnixPkg/EdkUnixPkg.spd b/EdkUnixPkg/EdkUnixPkg.spd
index c4360e89f2..a9622dd4bb 100644
--- a/EdkUnixPkg/EdkUnixPkg.spd
+++ b/EdkUnixPkg/EdkUnixPkg.spd
@@ -1,15 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright (c) 2006 - 2007, Intel Corporation
-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.
--->
-<PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
+<?xml version="1.0" encoding="UTF-8"?>
+<PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SpdHeader>
<PackageName>EdkUnixPkg</PackageName>
<GuidValue>f2805c44-8985-11db-9e98-0040d02b1835</GuidValue>
@@ -26,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
</SpdHeader>
<PackageDefinitions>
- <ReadOnly>true</ReadOnly>
+ <ReadOnly>false</ReadOnly>
<RePackage>false</RePackage>
</PackageDefinitions>
<LibraryClassDeclarations>
@@ -92,6 +82,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Filename>Dxe/UnixThunk/Bus/Console/UnixConsole.msa</Filename>
<Filename>Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.msa</Filename>
<Filename>Dxe/UnixThunk/Bus/Uga/UnixUga.msa</Filename>
+ <Filename>Dxe/UnixThunk/Bus/SerialIo/UnixSerialIo.msa</Filename>
<Filename>Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.msa</Filename>
<Filename>Dxe/UnixThunk/Chipset/Metronome/Metronome.msa</Filename>
<Filename>Dxe/UnixThunk/Chipset/RealTimeClock/RealTimeClock.msa</Filename>
@@ -172,6 +163,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<GuidValue>f2de8f12-8985-11db-aabc-0040d02b1835</GuidValue>
<HelpText/>
</Entry>
+ <Entry Name="UnixSerialPort">
+ <C_Name>gEfiUnixSerialPortGuid</C_Name>
+ <GuidValue>6d3a727d-66c8-4d19-87e6-0215861490f3</GuidValue>
+ <HelpText/>
+ </Entry>
</GuidDeclarations>
<ProtocolDeclarations>
<Entry Name="UnixIo">
@@ -220,7 +216,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"E:RW;245760;512"</DefaultValue>
- <HelpText>This PCD defines physical disk which will be simualted as a
+ <HelpText>This PCD defines physical disk which will be simualted as a
harddisk in simulator. The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -230,7 +226,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"FW;40960;512"</DefaultValue>
- <HelpText>This PCD defines the devices which use a file to emulate a hard disk or
+ <HelpText>This PCD defines the devices which use a file to emulate a hard disk or
removable media device.The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -240,7 +236,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"UGA Window"</DefaultValue>
- <HelpText>This PCD declares the resolutions for the UGA windows.
+ <HelpText>This PCD declares the resolutions for the UGA windows.
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -250,8 +246,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L".!..\\..\\..\\..\\..\\EdkShellBinPkg\\bin\\ia32\\Apps"</DefaultValue>
- <HelpText>This PCD defines the host directory who will be mounted as
- harddisk in simulator.
+ <HelpText>This PCD defines the host directory who will be mounted as
+ harddisk in simulator.
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -261,8 +257,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"64!64"</DefaultValue>
- <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
- the size of PcdUnixMemorySize in host platform.
+ <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
+ the size of PcdUnixMemorySize in host platform.
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -272,18 +268,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>UINT32</DatumType>
<ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>
<DefaultValue>1</DefaultValue>
- <HelpText>This PCD defines the boot mode for simualtor.
- The boot mode can be set as following value:
- 0x0: Boot with full configuration.
- 0x1: Boot with minimal configuration.
- 0x2: Boot assume no configuration changes.
- 0x3: Boot with full configuration plus diagnostics.
- 0x4: Boot with default settings.
- 0x5: Boot on S4 resume.
- 0x6: Boot on S5 resume.
- 0x10: Boot on S2 resume.
- 0x11: Boot on S3 resume.
- 0x12: Boot on flash update.
+ <HelpText>This PCD defines the boot mode for simualtor.
+ The boot mode can be set as following value:
+ 0x0: Boot with full configuration.
+ 0x1: Boot with minimal configuration.
+ 0x2: Boot assume no configuration changes.
+ 0x3: Boot with full configuration plus diagnostics.
+ 0x4: Boot with default settings.
+ 0x5: Boot on S4 resume.
+ 0x6: Boot on S5 resume.
+ 0x10: Boot on S2 resume.
+ 0x11: Boot on S3 resume.
+ 0x12: Boot on flash update.
0x20: Boot in reovery mode.</HelpText>
</PcdEntry>
<PcdEntry>
@@ -293,7 +289,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"Intel(R) Processor Model"</DefaultValue>
- <HelpText>This PCD defines simulated CPU model string.
+ <HelpText>This PCD defines simulated CPU model string.
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -303,7 +299,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"3000"</DefaultValue>
- <HelpText>This PCD defines simulated CPU speed string.
+ <HelpText>This PCD defines simulated CPU speed string.
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -322,8 +318,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>DYNAMIC</ValidUsage>
<DefaultValue>L"Bus Driver Console Window"</DefaultValue>
- <HelpText>This PCD declares the title string of the text console window.
- such as "My EFI Console".
+ <HelpText>This PCD declares the title string of the text console window.
+ such as "My EFI Console".
The item type of this PCD can only be "DYNAMIC".</HelpText>
</PcdEntry>
<PcdEntry>
@@ -333,8 +329,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<DatumType>VOID*</DatumType>
<ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>
<DefaultValue>L"64!64"</DefaultValue>
- <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
+ <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
the size of PcdUnixMemorySizeForSecMain in host platform.</HelpText>
</PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdUnixSerialPort</C_Name>
+ <Token>0x00001002</Token>
+ <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>VOID*</DatumType>
+ <ValidUsage>DYNAMIC</ValidUsage>
+ <DefaultValue>L"/dev/ttyS0"</DefaultValue>
+ <HelpText>Simulation serial IO port</HelpText>
+ </PcdEntry>
</PcdDeclarations>
-</PackageSurfaceArea>
+</PackageSurfaceArea> \ No newline at end of file