diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-29 20:51:40 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-29 20:51:40 +0000 |
commit | 7f1c3191e619f2d026136b75028855a1fd88bcd4 (patch) | |
tree | 09209f14facfec22ff6f535df790b9304629c0ab | |
parent | ef4ce18681c374a0ac90a61616ad99c3318261cf (diff) | |
download | edk2-platforms-7f1c3191e619f2d026136b75028855a1fd88bcd4.tar.xz |
Ported SerialPortLib to support base type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2919 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c | 6 | ||||
-rw-r--r-- | MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf | 1 | ||||
-rw-r--r-- | MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c index 4782a9c2f8..1e347a02fe 100644 --- a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c +++ b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c @@ -17,7 +17,7 @@ //
// The package level header files this module uses
//
-#include <FrameworkPei.h>
+#include <Base.h>
//
// The protocols, PPI and GUID defintions for this module
//
@@ -33,13 +33,13 @@ @return Always return EFI_UNSUPPORTED.
**/
-EFI_STATUS
+RETURN_STATUS
EFIAPI
SerialPortInitialize (
VOID
)
{
- return EFI_UNSUPPORTED;
+ return RETURN_UNSUPPORTED;
}
/**
diff --git a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf index 547b1eb1e1..d90d27c17b 100644 --- a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf +++ b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf @@ -55,5 +55,4 @@ [Packages]
MdePkg/MdePkg.dec
- IntelFrameworkPkg/IntelFrameworkPkg.dec
diff --git a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa index babb71fa69..75ecd8353f 100644 --- a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa +++ b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa @@ -31,7 +31,6 @@ </SourceFiles>
<PackageDependencies>
<Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
- <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
</PackageDependencies>
<Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|