]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/ARShiftU64.c
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseLib / ARShiftU64.c
index 67e49e8482b733e2c73e23dd6f1439d726ae4cff..d0c21c20c7a49748631f2093ec45138c0af92459 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Math worker functions.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2008, 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
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
-\r
-\r
 #include "BaseLibInternals.h"\r
 \r
 /**\r
@@ -31,7 +26,7 @@
   @param  Operand The 64-bit operand to shift right.\r
   @param  Count   The number of bits to shift right.\r
 \r
-  @return Operand arithmetically shifted right by Count\r
+  @return Operand >> Count\r
 \r
 **/\r
 UINT64\r
@@ -41,6 +36,6 @@ ARShiftU64 (
   IN      UINTN                     Count\r
   )\r
 {\r
-  ASSERT (Count < sizeof (Operand) * 8);\r
+  ASSERT (Count < 64);\r
   return InternalMathARShiftU64 (Operand, Count);\r
 }\r