]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1.Added EFIAPI for some assembly functions declare
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Jul 2006 02:48:06 +0000 (02:48 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Jul 2006 02:48:06 +0000 (02:48 +0000)
2.Modified some functions header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1052 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseLib/BaseLibInternals.h
MdePkg/Library/BaseLib/Ebc/SwitchStack.c
MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c
MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c
MdePkg/Library/BaseLib/LinkedList.c
MdePkg/Library/BaseLib/Math64.c

index 3a4ff07f069977d22233b9506a482b6586c2c095..e9caef3e58b3d24b45ece726a78b918bff2b8d88 100644 (file)
@@ -22,7 +22,7 @@
 //\r
 \r
 /**\r
 //\r
 \r
 /**\r
-  Worker functons that shifts a 64-bit integer left between 0 and 63 bits. The low bits\r
+  Shifts a 64-bit integer left between 0 and 63 bits. The low bits\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the left by Count bits. The\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the left by Count bits. The\r
@@ -42,7 +42,7 @@ InternalMathLShiftU64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker functon that shifts a 64-bit integer right between 0 and 63 bits. This high bits \r
+  Shifts a 64-bit integer right between 0 and 63 bits. This high bits\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
@@ -62,7 +62,7 @@ InternalMathRShiftU64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that shifts a 64-bit integer right between 0 and 63 bits. The high bits\r
+  Shifts a 64-bit integer right between 0 and 63 bits. The high bits\r
   are filled with original integer's bit 63. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
   are filled with original integer's bit 63. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
@@ -82,7 +82,7 @@ InternalMathARShiftU64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that rotates a 64-bit integer left between 0 and 63 bits, filling \r
+  Rotates a 64-bit integer left between 0 and 63 bits, filling\r
   the low bits with the high bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the left by Count bits. The\r
   the low bits with the high bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the left by Count bits. The\r
@@ -103,7 +103,7 @@ InternalMathLRotU64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that rotates a 64-bit integer right between 0 and 63 bits, filling\r
+  Rotates a 64-bit integer right between 0 and 63 bits, filling\r
   the high bits with the high low bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the right by Count bits.\r
   the high bits with the high low bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the right by Count bits.\r
@@ -124,7 +124,7 @@ InternalMathRRotU64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that switches the endianess of a 64-bit integer.\r
+  Switches the endianess of a 64-bit integer.\r
 \r
   This function swaps the bytes in a 64-bit unsigned value to switch the value\r
   from little endian to big endian or vice versa. The byte swapped value is\r
 \r
   This function swaps the bytes in a 64-bit unsigned value to switch the value\r
   from little endian to big endian or vice versa. The byte swapped value is\r
@@ -142,7 +142,7 @@ InternalMathSwapBytes64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that multiples a 64-bit unsigned integer by a 32-bit unsigned integer\r
+  Multiples a 64-bit unsigned integer by a 32-bit unsigned integer\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 32-bit\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 32-bit\r
@@ -163,7 +163,7 @@ InternalMathMultU64x32 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that multiples a 64-bit unsigned integer by a 64-bit unsigned integer\r
+  Multiples a 64-bit unsigned integer by a 64-bit unsigned integer\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 64-bit\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 64-bit\r
@@ -184,9 +184,9 @@ InternalMathMultU64x64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer and \r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
   generates a 64-bit unsigned result.\r
   generates a 64-bit unsigned result.\r
\r
+\r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   unsigned value Divisor and generates a 64-bit unsigned quotient. This\r
   function returns the 64-bit unsigned quotient.\r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   unsigned value Divisor and generates a 64-bit unsigned quotient. This\r
   function returns the 64-bit unsigned quotient.\r
@@ -205,7 +205,7 @@ InternalMathDivU64x32 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer and \r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
   generates a 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   generates a 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
@@ -226,7 +226,7 @@ InternalMathModU64x32 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
   generates a 64-bit unsigned result and an optional 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   generates a 64-bit unsigned result and an optional 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
@@ -251,7 +251,7 @@ InternalMathDivRemU64x32 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 64-bit unsigned integer and \r
+  Divides a 64-bit unsigned integer by a 64-bit unsigned integer and\r
   generates a 64-bit unsigned result and an optional 64-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
   generates a 64-bit unsigned result and an optional 64-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
@@ -276,7 +276,7 @@ InternalMathDivRemU64x64 (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Worker function that divides a 64-bit signed integer by a 64-bit signed integer and \r
+  Divides a 64-bit signed integer by a 64-bit signed integer and\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
@@ -297,7 +297,7 @@ InternalMathDivRemS64x64 (
   IN      INT64                     Dividend,\r
   IN      INT64                     Divisor,\r
   OUT     INT64                     *Remainder  OPTIONAL\r
   IN      INT64                     Dividend,\r
   IN      INT64                     Divisor,\r
   OUT     INT64                     *Remainder  OPTIONAL\r
 );\r
+ );\r
 \r
 /**\r
   Transfers control to a function starting with a new stack.\r
 \r
 /**\r
   Transfers control to a function starting with a new stack.\r
@@ -317,6 +317,7 @@ InternalMathDivRemS64x64 (
 \r
 **/\r
 VOID\r
 \r
 **/\r
 VOID\r
+EFIAPI\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,\r
index 0a5464b2f9274d094357ddd47f44eed6088c5c03..8fadd4f384a53dc1666421f6fbe9cd2647d6cb24 100644 (file)
@@ -35,6 +35,7 @@
 \r
 **/\r
 VOID\r
 \r
 **/\r
 VOID\r
+EFIAPI\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,  OPTIONAL\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,  OPTIONAL\r
index a5183429c143ea6edff5d5372d5242078bf37e01..1dfac5d317fef1ed3ac52156e5a9954e52d517d1 100644 (file)
@@ -17,7 +17,7 @@
 #include "../BaseLibInternals.h"\r
 \r
 /**\r
 #include "../BaseLibInternals.h"\r
 \r
 /**\r
-  Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and \r
+  Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
index 484313ea674b3f1a3e7e80c3a647c9ea2ac1d424..ab8116b4b5a882236fc2eff75b0a663eff0e33e3 100644 (file)
@@ -32,6 +32,7 @@
 \r
 **/\r
 VOID\r
 \r
 **/\r
 VOID\r
+EFIAPI\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,\r
 InternalSwitchStack (\r
   IN      SWITCH_STACK_ENTRY_POINT  EntryPoint,\r
   IN      VOID                      *Context1,\r
index 6c083ef95cf18c7c9e3b281e0beab2d1b73f1e8f..9347a2b57970e56cef2c940b6b20bd715e8d4f62 100644 (file)
@@ -15,9 +15,9 @@
 **/\r
 \r
 /**\r
 **/\r
 \r
 /**\r
-  Worker function that locates the Node in the List \r
+  Worker function that locates the Node in the List\r
 \r
 \r
-  By searching the List, finds the location of the Node in List. At the same time, \r
+  By searching the List, finds the location of the Node in List. At the same time,\r
   verifies the validity of this list.\r
 \r
   If List is NULL, then ASSERT().\r
   verifies the validity of this list.\r
 \r
   If List is NULL, then ASSERT().\r
   If List->backLink is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT();\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
   If List->backLink is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT();\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
-  of nodes in ListHead, including the ListHead node, is greater than or \r
+  of nodes in ListHead, including the ListHead node, is greater than or\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  List  A pointer to a node in a linked list.\r
   @param  Node  A pointer to one nod.\r
 \r
   @retval TRUE   Node is in List\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  List  A pointer to a node in a linked list.\r
   @param  Node  A pointer to one nod.\r
 \r
   @retval TRUE   Node is in List\r
-  @retval FALSE  Node isn't in List, or List is invalid \r
+  @retval FALSE  Node isn't in List, or List is invalid\r
 \r
 **/\r
 BOOLEAN\r
 \r
 **/\r
 BOOLEAN\r
-EFIAPI\r
 IsNodeInList (\r
   IN      CONST LIST_ENTRY      *List,\r
   IN      CONST LIST_ENTRY      *Node\r
 IsNodeInList (\r
   IN      CONST LIST_ENTRY      *List,\r
   IN      CONST LIST_ENTRY      *Node\r
@@ -115,7 +114,7 @@ InitializeListHead (
   If Entry is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
   If Entry is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
-  of nodes in ListHead, including the ListHead node, is greater than or \r
+  of nodes in ListHead, including the ListHead node, is greater than or\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
@@ -155,7 +154,7 @@ InsertHeadList (
   If Entry is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
   If Entry is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
   If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number\r
-  of nodes in ListHead, including the ListHead node, is greater than or \r
+  of nodes in ListHead, including the ListHead node, is greater than or\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
   equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
@@ -193,8 +192,8 @@ InsertTailList (
 \r
   If List is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
 \r
   If List is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and the number of nodes \r
-  in List, including the List node, is greater than or equal to \r
+  If PcdMaximumLinkedListLenth is not zero, and the number of nodes\r
+  in List, including the List node, is greater than or equal to\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  List  A pointer to the head node of a doubly linked list.\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  List  A pointer to the head node of a doubly linked list.\r
@@ -261,8 +260,8 @@ GetNextNode (
 \r
   If ListHead is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
 \r
   If ListHead is NULL, then ASSERT().\r
   If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and the number of nodes \r
-  in List, including the List node, is greater than or equal to \r
+  If PcdMaximumLinkedListLenth is not zero, and the number of nodes\r
+  in List, including the List node, is greater than or equal to\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  ListHead  A pointer to the head node of a doubly linked list.\r
@@ -295,8 +294,8 @@ IsListEmpty (
   If List is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
   If List is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and the number of nodes \r
-  in List, including the List node, is greater than or equal to \r
+  If PcdMaximumLinkedListLenth is not zero, and the number of nodes\r
+  in List, including the List node, is greater than or equal to\r
   PcdMaximumLinkedListLength, then ASSERT().\r
   If Node is not a node in List and Node is not equal to List, then ASSERT().\r
 \r
   PcdMaximumLinkedListLength, then ASSERT().\r
   If Node is not a node in List and Node is not equal to List, then ASSERT().\r
 \r
@@ -332,8 +331,8 @@ IsNull (
   If List is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
   If List is NULL, then ASSERT().\r
   If Node is NULL, then ASSERT().\r
   If List was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and the number of nodes \r
-  in List, including the List node, is greater than or equal to \r
+  If PcdMaximumLinkedListLenth is not zero, and the number of nodes\r
+  in List, including the List node, is greater than or equal to\r
   PcdMaximumLinkedListLength, then ASSERT().\r
   If Node is not a node in List, then ASSERT().\r
 \r
   PcdMaximumLinkedListLength, then ASSERT().\r
   If Node is not a node in List, then ASSERT().\r
 \r
@@ -375,7 +374,7 @@ IsNodeAtEnd (
   If SecondEntry and FirstEntry are not in the same linked list, then ASSERT().\r
   If PcdMaximumLinkedListLength is not zero, and the number of nodes in the\r
   linked list containing the FirstEntry and SecondEntry nodes, including\r
   If SecondEntry and FirstEntry are not in the same linked list, then ASSERT().\r
   If PcdMaximumLinkedListLength is not zero, and the number of nodes in the\r
   linked list containing the FirstEntry and SecondEntry nodes, including\r
-  the FirstEntry and SecondEntry nodes, is greater than or equal to \r
+  the FirstEntry and SecondEntry nodes, is greater than or equal to\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  FirstEntry  A pointer to a node in a linked list.\r
   PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  FirstEntry  A pointer to a node in a linked list.\r
@@ -441,8 +440,8 @@ SwapListEntries (
 \r
   If Entry is NULL, then ASSERT().\r
   If Entry is the head node of an empty list, then ASSERT().\r
 \r
   If Entry is NULL, then ASSERT().\r
   If Entry is the head node of an empty list, then ASSERT().\r
-  If PcdMaximumLinkedListLength is not zero, and the number of nodes in the \r
-  linked list containing Entry, including the Entry node, is greater than \r
+  If PcdMaximumLinkedListLength is not zero, and the number of nodes in the\r
+  linked list containing Entry, including the Entry node, is greater than\r
   or equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  Entry A pointer to a node in a linked list\r
   or equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
   @param  Entry A pointer to a node in a linked list\r
index a8756967befaf73f6d2a4978ff4e0943393e05e7..3312d789acf03ef4dc2eab6f91e7d5468c630096 100644 (file)
 \r
 **/\r
 \r
 \r
 **/\r
 \r
+#include "BaseLibInternals.h"\r
+\r
 /**\r
 /**\r
-  Worker functons that shifts a 64-bit integer left between 0 and 63 bits. The low bits\r
+  Shifts a 64-bit integer left between 0 and 63 bits. The low bits\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the left by Count bits. The\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the left by Count bits. The\r
@@ -29,6 +31,7 @@
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
+EFIAPI\r
 InternalMathLShiftU64 (\r
   IN      UINT64                    Operand,\r
   IN      UINTN                     Count\r
 InternalMathLShiftU64 (\r
   IN      UINT64                    Operand,\r
   IN      UINTN                     Count\r
@@ -38,7 +41,7 @@ InternalMathLShiftU64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker functon that shifts a 64-bit integer right between 0 and 63 bits. This high bits\r
+  Shifts a 64-bit integer right between 0 and 63 bits. This high bits\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
   are filled with zeros. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
@@ -61,7 +64,7 @@ InternalMathRShiftU64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that shifts a 64-bit integer right between 0 and 63 bits. The high bits\r
+  Shifts a 64-bit integer right between 0 and 63 bits. The high bits\r
   are filled with original integer's bit 63. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
   are filled with original integer's bit 63. The shifted value is returned.\r
 \r
   This function shifts the 64-bit value Operand to the right by Count bits. The\r
@@ -101,7 +104,7 @@ InternalMathARShiftU64 (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Worker function that rotates a 64-bit integer left between 0 and 63 bits, filling \r
+  Rotates a 64-bit integer left between 0 and 63 bits, filling\r
   the low bits with the high bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the left by Count bits. The\r
   the low bits with the high bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the left by Count bits. The\r
@@ -125,7 +128,7 @@ InternalMathLRotU64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that rotates a 64-bit integer right between 0 and 63 bits, filling\r
+  Rotates a 64-bit integer right between 0 and 63 bits, filling\r
   the high bits with the high low bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the right by Count bits.\r
   the high bits with the high low bits that were rotated.\r
 \r
   This function rotates the 64-bit value Operand to the right by Count bits.\r
@@ -149,7 +152,7 @@ InternalMathRRotU64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that switches the endianess of a 64-bit integer.\r
+  Switches the endianess of a 64-bit integer.\r
 \r
   This function swaps the bytes in a 64-bit unsigned value to switch the value\r
   from little endian to big endian or vice versa. The byte swapped value is\r
 \r
   This function swaps the bytes in a 64-bit unsigned value to switch the value\r
   from little endian to big endian or vice versa. The byte swapped value is\r
@@ -173,7 +176,7 @@ InternalMathSwapBytes64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that multiples a 64-bit unsigned integer by a 32-bit unsigned integer\r
+  Multiples a 64-bit unsigned integer by a 32-bit unsigned integer\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 32-bit\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 32-bit\r
@@ -198,7 +201,7 @@ InternalMathMultU64x32 (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Worker function that multiples a 64-bit unsigned integer by a 64-bit unsigned integer\r
+  Multiples a 64-bit unsigned integer by a 64-bit unsigned integer\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 64-bit\r
   and generates a 64-bit unsigned result.\r
 \r
   This function multiples the 64-bit unsigned value Multiplicand by the 64-bit\r
@@ -222,9 +225,9 @@ InternalMathMultU64x64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
   generates a 64-bit unsigned result.\r
   generates a 64-bit unsigned result.\r
\r
+\r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   unsigned value Divisor and generates a 64-bit unsigned quotient. This\r
   function returns the 64-bit unsigned quotient.\r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   unsigned value Divisor and generates a 64-bit unsigned quotient. This\r
   function returns the 64-bit unsigned quotient.\r
@@ -246,7 +249,7 @@ InternalMathDivU64x32 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer\r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer\r
   and generates a 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   and generates a 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
@@ -260,6 +263,7 @@ InternalMathDivU64x32 (
 \r
 **/\r
 UINT32\r
 \r
 **/\r
 UINT32\r
+EFIAPI\r
 InternalMathModU64x32 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT32                    Divisor\r
 InternalMathModU64x32 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT32                    Divisor\r
@@ -269,7 +273,7 @@ InternalMathModU64x32 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
+  Divides a 64-bit unsigned integer by a 32-bit unsigned integer and\r
   generates a 64-bit unsigned result and an optional 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
   generates a 64-bit unsigned result and an optional 32-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 32-bit\r
@@ -286,6 +290,7 @@ InternalMathModU64x32 (
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
+EFIAPI\r
 InternalMathDivRemU64x32 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT32                    Divisor,\r
 InternalMathDivRemU64x32 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT32                    Divisor,\r
@@ -299,7 +304,7 @@ InternalMathDivRemU64x32 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that divides a 64-bit unsigned integer by a 64-bit unsigned integer and \r
+  Divides a 64-bit unsigned integer by a 64-bit unsigned integer and\r
   generates a 64-bit unsigned result and an optional 64-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
   generates a 64-bit unsigned result and an optional 64-bit unsigned remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
@@ -316,6 +321,7 @@ InternalMathDivRemU64x32 (
 \r
 **/\r
 UINT64\r
 \r
 **/\r
 UINT64\r
+EFIAPI\r
 InternalMathDivRemU64x64 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT64                    Divisor,\r
 InternalMathDivRemU64x64 (\r
   IN      UINT64                    Dividend,\r
   IN      UINT64                    Divisor,\r
@@ -329,7 +335,7 @@ InternalMathDivRemU64x64 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Worker function that divides a 64-bit signed integer by a 64-bit signed integer and \r
+  Divides a 64-bit signed integer by a 64-bit signed integer and\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r
   generates a  64-bit signed result and a optional 64-bit signed remainder.\r
 \r
   This function divides the 64-bit unsigned value Dividend by the 64-bit\r