summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 20:51:40 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 20:51:40 +0000
commit7f1c3191e619f2d026136b75028855a1fd88bcd4 (patch)
tree09209f14facfec22ff6f535df790b9304629c0ab /MdePkg/Library
parentef4ce18681c374a0ac90a61616ad99c3318261cf (diff)
downloadedk2-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
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c6
-rw-r--r--MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf1
-rw-r--r--MdePkg/Library/SerialPortLibNull/SerialPortLibNull.msa1
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>