]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/ARShiftU64.c
1. Correct File header to ## @file
[mirror_edk2.git] / MdePkg / Library / BaseLib / ARShiftU64.c
index feb5430311ab00104477b168dbc5573a94c9cceb..3f66f2badc54969400cd56776592b415d2b216ae 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Math worker functions.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\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
@@ -26,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
@@ -36,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