From 7f1c3191e619f2d026136b75028855a1fd88bcd4 Mon Sep 17 00:00:00 2001 From: AJFISH Date: Fri, 29 Jun 2007 20:51:40 +0000 Subject: Ported SerialPortLib to support base type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2919 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c | 6 +++--- MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf | 1 - 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 +#include // // 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 @@ - EFI_SPECIFICATION_VERSION 0x00020000 -- cgit v1.2.3