summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/Library
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 23:14:09 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 23:14:09 +0000
commita9fd67211ea2caa8007e49eaa6bd4f4ed3be5262 (patch)
tree454a81ee44b6808e38b8c0ff87406abfb5b7c7e4 /PcAtChipsetPkg/Library
parent7632bfccccd8c9a63cb66111a61bb85bec04aa56 (diff)
downloadedk2-platforms-a9fd67211ea2caa8007e49eaa6bd4f4ed3be5262.tar.xz
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
Diffstat (limited to 'PcAtChipsetPkg/Library')
-rw-r--r--PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf26
-rw-r--r--PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c7
2 files changed, 15 insertions, 18 deletions
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 <Base.h>
-
-#include <Library/SerialPortLib.h>
#include <Library/IoLib.h>
+#include <Library/SerialPortLib.h>
//---------------------------------------------
// UART Register Offsets