From: jljusten Date: Mon, 23 Feb 2009 23:14:09 +0000 (+0000) Subject: Cleanup and remove DuetPkg references. Allow library to be used with X-Git-Tag: edk2-stable201903~18629 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a9fd67211ea2caa8007e49eaa6bd4f4ed3be5262 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 --- diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf b/PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf index 07a7ee9fa2..ad53431d95 100644 --- a/PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf +++ b/PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf @@ -1,23 +1,22 @@ #/**@file -# This library instance produce SerialIo library class for DUET platform. +# Library instance for SerialIo library class # -# 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. -# +# Copyright (c) 2006 - 2009, 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. # #**/ [Defines] INF_VERSION = 0x00010005 - BASE_NAME = DuetSerialPortLib + BASE_NAME = PcAtSerialPortLib FILE_GUID = 1B25AF84-1EA8-4b52-894E-BFA6880B97FF - MODULE_TYPE = DXE_DRIVER + MODULE_TYPE = BASE VERSION_STRING = 1.0 LIBRARY_CLASS = SerialPortLib EDK_RELEASE_VERSION = 0x00020000 @@ -27,10 +26,9 @@ MdePkg/MdePkg.dec [LibraryClasses] - SerialPortLib + BaseLib IoLib [Sources.common] SerialPortLib.c - diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c index f0cdc4982f..49fd28e471 100644 --- a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c +++ b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c @@ -1,7 +1,7 @@ /** @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 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 @@ -13,9 +13,8 @@ **/ #include - -#include #include +#include //--------------------------------------------- // UART Register Offsets