]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Cleanup and remove DuetPkg references. Allow library to be used with
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 23:14:09 +0000 (23:14 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 23:14:09 +0000 (23:14 +0000)
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

PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c

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