]> git.proxmox.com Git - mirror_edk2.git/commitdiff
INF file verified, and Coding Style reviewed.
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jan 2009 07:23:31 +0000 (07:23 +0000)
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jan 2009 07:23:31 +0000 (07:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524

26 files changed:
MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
MdePkg/Library/BaseLib/BaseLib.inf
MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
MdePkg/Library/BasePalLibNull/BasePalLibNull.inf
MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
MdePkg/Library/BasePrintLib/BasePrintLib.inf
MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf

index d1b8a8077c785ce946fb4dafa8f996e6b691118a..4e86a6234091b311b08b5609130f5fd24ddb7454 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Cache Maintenance Library using Base Library services.\r
+#  Instance of Cache Maintenance Library using Base Library services.\r
 #\r
-# Cache Maintenance Library that uses Base Library services to maintain caches.\r
+#  Cache Maintenance Library that uses Base Library services to maintain caches.\r
 #  This library assumes there are no chipset dependencies required to maintain caches.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation\r
 #\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
index fd3a39a732972306e9fa3ff84d903458a0ca71dd..3a0f1acb2158265ede69a13e6c84f180f893e85b 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of CPU Library for various architecture.\r
+#  Instance of CPU Library for various architecture.\r
 #\r
-# CPU Library implemented using ASM functions for IA-32 and X64,\r
-# PAL CALLs for IPF, and empty functions for EBC.\r
+#  CPU Library implemented using ASM functions for IA-32 and X64,\r
+#  PAL CALLs for IPF, and empty functions for EBC.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 946cd638601d2146de0097c0e767a05c637d1688..66311688a837958a5ba1ffd5051e3226a875e6b9 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# Debug Library with empty functions.\r
+#  Debug Library with empty functions.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 76a568b4a847314fc55c2a1f0890b4f6b5cbde68..cea38271eb1b03c4cfb370576c06e3d1839cf19d 100644 (file)
@@ -1,11 +1,11 @@
 #/** @file\r
-# Instance of I/O Library using compiler intrinsics.\r
+#  Instance of I/O Library using compiler intrinsics.\r
 #\r
-# I/O Library that uses compiler intrinsics to perform IN and OUT instructions\r
-# for IA-32 and x64.  On IPF, I/O port requests are translated into MMIO requests.\r
-# MMIO requests are forwarded directly to memory.\r
+#  I/O Library that uses compiler intrinsics to perform IN and OUT instructions\r
+#  for IA-32 and x64.  On IPF, I/O port requests are translated into MMIO requests.\r
+#  MMIO requests are forwarded directly to memory.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 99280baaa236e615f5d290ab8f0b7fc7dfb5e8df..c4915f8b8f4c878d46b8a32691b5d8980867532f 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# Base Library implementation.\r
+#  Base Library implementation.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 3777569e3ce28c28f012d6b6fca32ddcbcc9ee56..695dc4a2c8379ab7b7d5f2a94e41b7632fb5886e 100644 (file)
@@ -1,9 +1,9 @@
 #/** @file\r
-# Instance of Base Memory Library without assembly.\r
+#  Instance of Base Memory Library without assembly.\r
 #\r
-# Base Memory Library implementation - no ASM.\r
+#  Base Memory Library implementation - no ASM.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index e83825e695b8606ad1eddc66b03f29872b8fe94b..f92bc0002197a4d1aca5fa444143bb191e1116e6 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Base Memory Library using MMX registers.\r
+#  Instance of Base Memory Library using MMX registers.\r
 #\r
-# Base Memory Library that uses MMX registers for high performance.\r
+#  Base Memory Library that uses MMX registers for high performance.\r
 #  Optimized for use in DXE.\r
 #\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+#  Copyright (c) 2006 - 2008, Intel Corporation.\r
 #\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
index ae0a11762e466c04f91a984550e4fc921b4246c4..ba134a591ed367108af1dbf8ef0cee54e04feda7 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Base Memory Library optimized for use in DXE phase.\r
+#  Instance of Base Memory Library optimized for use in DXE phase.\r
 #\r
-# Base Memory Library that is optimized for use in DXE phase.  \r
-# Uses REP, MMX, XMM registers as required for best performance.\r
+#  Base Memory Library that is optimized for use in DXE phase.  \r
+#  Uses REP, MMX, XMM registers as required for best performance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index de56b98f109f20b57c390ca1e6827593a5a689fc..e4d22915c9ae9d19bee8fcb25424e35040c0361f 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Base Memory Library optimized for use in PEI phase.\r
+#  Instance of Base Memory Library optimized for use in PEI phase.\r
 #\r
-# Base Memory Library that is optimized for use in PEI phase.  \r
-# Uses REP, MMX, XMM registers as required for best performance.\r
+#  Base Memory Library that is optimized for use in PEI phase.  \r
+#  Uses REP, MMX, XMM registers as required for best performance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 15c5ff36bec5589dc1bb51a8b3e973c6b9ce44d3..0d5dd4eb3ab1d65a5daf998ef5d588f8c086d76f 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Base Memory Library using REP string instructions.\r
+#  Instance of Base Memory Library using REP string instructions.\r
 #\r
-# Base Memory Library that uses REP string instructions for\r
+#  Base Memory Library that uses REP string instructions for\r
 #  high performance and small size. Optimized for use in PEI.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index ef1bd6ccf5109dec3479c4117fac3d3e7cdd6d8a..c9ab2ef9eb9f4ee4c1903641e42163b4f5ed8ca4 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Base Memory Library using XMM registers.\r
+#  Instance of Base Memory Library using XMM registers.\r
 #\r
-# Base Memory Library that uses XMM registers for high performance.\r
+#  Base Memory Library that uses XMM registers for high performance.\r
 #  Optimized for use in DXE.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index d0e2cbd68df9a7e92a9e1d95f132fab398e216e6..dff0dd86b71194212f9080c6da60b5b6ee11822c 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# Null instance of PAL Library with empty functions.\r
+#  Null instance of PAL Library with empty functions.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index a325df421b3e867479e1a5bf3db42c24d7a0d608..2b93305cebfb7bb0f7a751782a29350e760a64ea 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of PCD Library without support of dynamic PCD entries.\r
+#  Instance of PCD Library without support of dynamic PCD entries.\r
 #\r
-# PCD Library that only provides access to Feature Flag, Fixed At Build,\r
-# and Binary Patch typed PCD entries. Access to Dynamic PCD entries is ignored.\r
+#  PCD Library that only provides access to Feature Flag, Fixed At Build,\r
+#  and Binary Patch typed PCD entries. Access to Dynamic PCD entries is ignored.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index edec2c566df97886c59edcb468759b6082017c12..d032dabaec9acb35a51f91a97c2cb5743f92f4c4 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of PCI CF8 Library using I/O ports 0xCF8 and 0xCFC.\r
+#  Instance of PCI CF8 Library using I/O ports 0xCF8 and 0xCFC.\r
 #\r
-# PCI CF8 Library that uses I/O ports 0xCF8 and 0xCFC to perform PCI Configuration cycles.\r
+#  PCI CF8 Library that uses I/O ports 0xCF8 and 0xCFC to perform PCI Configuration cycles.\r
 #  Layers on top of an I/O Library instance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 909f4539ee60baefdac8651511cbd4f6e5d603bc..9ad842df3bbce6d914b7ee5b014ecee9407da48f 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of PCI Express Library using the 256 MB PCI Express MMIO window.\r
+#  Instance of PCI Express Library using the 256 MB PCI Express MMIO window.\r
 #\r
-# PCI Express Library that uses the 256 MB PCI Express MMIO window to perform\r
+#  PCI Express Library that uses the 256 MB PCI Express MMIO window to perform\r
 #  PCI Configuration cycles. Layers on top of an I/O Library instance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 879b622ee621cbc98f278be4e87483a3b45e5a50..f3db569d95bc86fd11a91bc5cab3298795e320a8 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of PCI Library based on PCI CF8 Library.\r
+#  Instance of PCI Library based on PCI CF8 Library.\r
 #\r
-# PCI Library that uses I/O ports 0xCF8 and 0xCFC to perform\r
+#  PCI Library that uses I/O ports 0xCF8 and 0xCFC to perform\r
 #  PCI Configuration cycles. Layers on top of one PCI CF8 Library instance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index c95ae038f172ddeae65fe149d1426644adad2022..35ca7fce65bca5097296357107aa603136e39352 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of PCI Library based on PCI Express Library.\r
+#  Instance of PCI Library based on PCI Express Library.\r
 #\r
-# PCI Library that uses the 256 MB PCI Express MMIO window to perform PCI\r
+#  PCI Library that uses the 256 MB PCI Express MMIO window to perform PCI\r
 #  Configuration cycles. Layers on one PCI Express Library instance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index dfc7de307c5547eb19dab52828e2c9966e98538b..74232736c9146bece50473cdf79ad39321d2a941 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# PE/COFF Entry Point Library implementation.\r
+#  PE/COFF Entry Point Library implementation.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index dd11c01511b85d7c04ec25ee58df9560a19d3e78..28e942cb7fc9da114ef500e3b6a43c6002e0bae9 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# PE/COFF Loader Library implementation.\r
+#  PE/COFF Loader Library implementation.\r
 #\r
-# Copyright (c) 2006 - 2008, Intel Corporation.\r
+#  Copyright (c) 2006 - 2008, Intel Corporation.\r
 #\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
index 19ea6c9516335d9c3542bc4a7ab9174fc414d5eb..c2ebb9de98d8d8ad2ccabf36f0960a9e604324bd 100644 (file)
@@ -1,10 +1,10 @@
 #/** @file\r
-# Instance of Performance Library based on Base Library.\r
+#  Instance of Performance Library based on Base Library.\r
 #\r
-# Performance Library that layers on top of the Base Library to measure start\r
+#  Performance Library that layers on top of the Base Library to measure start\r
 #  and end times using CPU specific timer services if they are available.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index b735b21474d2f6af86cbb81aea468c56dfd363f9..73902749849a7616d10942944c534593b3186674 100644 (file)
@@ -1,9 +1,9 @@
 #/** @file\r
-# Instance of Post Code Library based on Debug Library.\r
+#  Instance of Post Code Library based on Debug Library.\r
 #\r
-# Post Code Library that layers on top of a Debug Library instance.\r
+#  Post Code Library that layers on top of a Debug Library instance.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 4044c342e90684d3ab1f56e0bf52e5c322954d99..87fda15b107d9826051ac1b6f6f926fc2680c308 100644 (file)
@@ -1,9 +1,9 @@
 #/** @file\r
-# Instance of Post Code Library using I/O port 0x80.\r
+#  Instance of Post Code Library using I/O port 0x80.\r
 #\r
-# Post Code Library that writes post code values to I/O port 0x80.\r
+#  Post Code Library that writes post code values to I/O port 0x80.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index a1eae2583e2fac12738244f97d521900d95ade86..4165d5a31efe029c7e47d3bef164393e97c44328 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# Print Library implementation.\r
+#  Print Library implementation.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index 9f35fc8607e19adca59931578363af9edeb17b27..bb796803c9af53728a64e1e4d56d7f2214dda4ea 100644 (file)
@@ -1,12 +1,12 @@
 #/** @file\r
-# NULL instance of Timer Library as a template.\r
+#  NULL instance of Timer Library as a template.\r
 #\r
-# A non-functional instance of the Timer Library that can be used as a template\r
+#  A non-functional instance of the Timer Library that can be used as a template\r
 #  for the implementation of a functional timer library instance. This library instance can\r
 #  also be used to test build DXE, Runtime, DXE SAL, and DXE SMM modules that require timer\r
 #  services as well as EBC modules that require timer services.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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
index f32eac49bf0329dc30ad84bce690f10af1e989d4..a4b271ba04855fd5a10b8001f1849f29739fae2d 100644 (file)
@@ -158,6 +158,7 @@ MakeTable (
   }\r
 \r
   for (Index = 0; Index < NumOfChar; Index++) {\r
+    ASSERT (BitLen[Index] != 0);\r
     Count[BitLen[Index]]++;\r
   }\r
 \r
index dbbd3ac17c2cf7763eb9ff81dc9d9f2ce08ad56f..28b7043cc20b93f992ac8724312254ef6fe64090 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
-# UEFI Decompress Library implementation.\r
+#  UEFI Decompress Library implementation.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2008, Intel Corporation.\r
 #\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