Cleanup and remove DuetPkg references. Allow library to be used with

any driver type (increased scope from DXE_DRIVER to BASE).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7621 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2009-02-23 23:14:09 +00:00
parent 7632bfcccc
commit a9fd67211e
2 changed files with 15 additions and 18 deletions

View File

@ -1,23 +1,22 @@
#/**@file #/**@file
# This library instance produce SerialIo library class for DUET platform. # Library instance for SerialIo library class
# #
# Copyright (c) 2006 - 2007, Intel Corporation # Copyright (c) 2006 - 2009, Intel Corporation
# All rights reserved. This program and the accompanying materials # All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # 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 # which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php # http://opensource.org/licenses/bsd-license.php
# #
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
# #
#**/ #**/
[Defines] [Defines]
INF_VERSION = 0x00010005 INF_VERSION = 0x00010005
BASE_NAME = DuetSerialPortLib BASE_NAME = PcAtSerialPortLib
FILE_GUID = 1B25AF84-1EA8-4b52-894E-BFA6880B97FF FILE_GUID = 1B25AF84-1EA8-4b52-894E-BFA6880B97FF
MODULE_TYPE = DXE_DRIVER MODULE_TYPE = BASE
VERSION_STRING = 1.0 VERSION_STRING = 1.0
LIBRARY_CLASS = SerialPortLib LIBRARY_CLASS = SerialPortLib
EDK_RELEASE_VERSION = 0x00020000 EDK_RELEASE_VERSION = 0x00020000
@ -27,10 +26,9 @@
MdePkg/MdePkg.dec MdePkg/MdePkg.dec
[LibraryClasses] [LibraryClasses]
SerialPortLib BaseLib
IoLib IoLib
[Sources.common] [Sources.common]
SerialPortLib.c SerialPortLib.c

View File

@ -1,7 +1,7 @@
/** @file /** @file
UART Serial Port library instance with empty functions. UART Serial Port library functions
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -13,9 +13,8 @@
**/ **/
#include <Base.h> #include <Base.h>
#include <Library/SerialPortLib.h>
#include <Library/IoLib.h> #include <Library/IoLib.h>
#include <Library/SerialPortLib.h>
//--------------------------------------------- //---------------------------------------------
// UART Register Offsets // UART Register Offsets