]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Io.c
Maintainers.txt: Remove EdkCompatibilityPkg information
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / RuntimeDxe / EfiRuntimeLib / Io.c
index b7571b4c15e68ac98062db08565888299c75b33f..2a52906fc19bc09be8304ba9a24f531aaa3f9e3a 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2004, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+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
@@ -42,6 +42,7 @@ Returns:
 {\r
   UINT8 Buffer;\r
 \r
+  Buffer = 0;\r
   EfiIoRead (EfiCpuIoWidthUint8, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -65,6 +66,7 @@ Returns:
 {\r
   UINT16  Buffer;\r
 \r
+  Buffer = 0;\r
   EfiIoRead (EfiCpuIoWidthUint16, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -88,6 +90,7 @@ Returns:
 {\r
   UINT32  Buffer;\r
 \r
+  Buffer = 0;\r
   EfiIoRead (EfiCpuIoWidthUint32, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -177,6 +180,7 @@ Returns:
 {\r
   UINT8   Buffer;\r
 \r
+  Buffer = 0;\r
   EfiMemRead (EfiCpuIoWidthUint8, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -200,6 +204,7 @@ Returns:
 {\r
   UINT16  Buffer;\r
 \r
+  Buffer = 0;\r
   EfiMemRead (EfiCpuIoWidthUint16, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -223,6 +228,7 @@ Returns:
 {\r
   UINT32  Buffer;\r
 \r
+  Buffer = 0;\r
   EfiMemRead (EfiCpuIoWidthUint32, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r
@@ -246,6 +252,7 @@ Returns:
 {\r
   UINT64  Buffer;\r
 \r
+  Buffer = 0;\r
   EfiMemRead (EfiCpuIoWidthUint64, Address, 1, &Buffer);\r
   return Buffer;\r
 }\r