Lines Matching refs:IF
23 #if defined (MDE_CPU_IA32)
40 #if defined (MDE_CPU_IPF)
90 #if defined (MDE_CPU_X64)
113 #if defined (MDE_CPU_EBC)
129 #if defined (MDE_CPU_ARM)
149 #if defined (MDE_CPU_AARCH64)
192 If String is not aligned on a 16-bit boundary, then ASSERT().
198 @retval 0 If String is NULL.
199 @retval MaxSize If there is no null character in the first MaxSize characters of String.
216 If Destination is not aligned on a 16-bit boundary, then ASSERT().
217 If Source is not aligned on a 16-bit boundary, then ASSERT().
218 If an error would be returned, then the function will also ASSERT().
220 If an error is returned, then the Destination is unmodified.
228 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than StrLen(Source).
229 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
230 If Source is NULL.
231 If PcdMaximumUnicodeStringLength is not zero,
234 If DestMax is 0.
235 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
247 Source to the array pointed to by Destination. If no null char is copied from
252 If Length > 0 and Destination is not aligned on a 16-bit boundary, then ASSERT().
253 If Length > 0 and Source is not aligned on a 16-bit boundary, then ASSERT().
254 If an error would be returned, then the function will also ASSERT().
256 If an error is returned, then the Destination is unmodified.
265 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than
267 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
268 If Source is NULL.
269 If PcdMaximumUnicodeStringLength is not zero,
272 If DestMax is 0.
273 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
290 If Destination is not aligned on a 16-bit boundary, then ASSERT().
291 If Source is not aligned on a 16-bit boundary, then ASSERT().
292 If an error would be returned, then the function will also ASSERT().
294 If an error is returned, then the Destination is unmodified.
302 @retval RETURN_BAD_BUFFER_SIZE If DestMax is NOT greater than
304 @retval RETURN_BUFFER_TOO_SMALL If (DestMax - StrLen(Destination)) is NOT
306 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
307 If Source is NULL.
308 If PcdMaximumUnicodeStringLength is not zero,
311 If DestMax is 0.
312 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
324 Source to the end of the string pointed to by Destination. If no null char is
330 If Destination is not aligned on a 16-bit boundary, then ASSERT().
331 If Source is not aligned on a 16-bit boundary, then ASSERT().
332 If an error would be returned, then the function will also ASSERT().
334 If an error is returned, then the Destination is unmodified.
343 @retval RETURN_BAD_BUFFER_SIZE If DestMax is NOT greater than
345 @retval RETURN_BUFFER_TOO_SMALL If (DestMax - StrLen(Destination)) is NOT
347 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
348 If Source is NULL.
349 If PcdMaximumUnicodeStringLength is not zero,
352 If DestMax is 0.
353 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
373 @retval 0 If String is NULL.
374 @retval MaxSize If there is no null character in the first MaxSize characters of String.
391 If an error would be returned, then the function will also ASSERT().
393 If an error is returned, then the Destination is unmodified.
401 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than StrLen(Source).
402 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
403 If Source is NULL.
404 If PcdMaximumAsciiStringLength is not zero,
407 If DestMax is 0.
408 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
420 Source to the array pointed to by Destination. If no null char is copied from
425 If an error would be returned, then the function will also ASSERT().
427 If an error is returned, then the Destination is unmodified.
436 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than
438 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
439 If Source is NULL.
440 If PcdMaximumAsciiStringLength is not zero,
443 If DestMax is 0.
444 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
461 If an error would be returned, then the function will also ASSERT().
463 If an error is returned, then the Destination is unmodified.
471 @retval RETURN_BAD_BUFFER_SIZE If DestMax is NOT greater than
473 @retval RETURN_BUFFER_TOO_SMALL If (DestMax - StrLen(Destination)) is NOT
475 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
476 If Source is NULL.
477 If PcdMaximumAsciiStringLength is not zero,
480 If DestMax is 0.
481 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
493 Source to the end of the string pointed to by Destination. If no null char is
499 If an error would be returned, then the function will also ASSERT().
501 If an error is returned, then the Destination is unmodified.
510 @retval RETURN_BAD_BUFFER_SIZE If DestMax is NOT greater than
512 @retval RETURN_BUFFER_TOO_SMALL If (DestMax - StrLen(Destination)) is NOT
514 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
515 If Source is NULL.
516 If PcdMaximumAsciiStringLength is not zero,
519 If DestMax is 0.
520 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
541 string Destination, and returns Destination. If Source and Destination
544 If Destination is NULL, then ASSERT().
545 If Destination is not aligned on a 16-bit boundary, then ASSERT().
546 If Source is NULL, then ASSERT().
547 If Source is not aligned on a 16-bit boundary, then ASSERT().
548 If Source and Destination overlap, then ASSERT().
549 If PcdMaximumUnicodeStringLength is not zero, and Source contains more than
575 characters are copied from Source to Destination. If Length is 0, then
576 Destination is returned unmodified. If Length is greater that the number of
578 characters. If Source and Destination overlap, then the results are
581 If Length > 0 and Destination is NULL, then ASSERT().
582 If Length > 0 and Destination is not aligned on a 16-bit boundary, then ASSERT().
583 If Length > 0 and Source is NULL, then ASSERT().
584 If Length > 0 and Source is not aligned on a 16-bit boundary, then ASSERT().
585 If Source and Destination overlap, then ASSERT().
586 If PcdMaximumUnicodeStringLength is not zero, and Length is greater than
588 If PcdMaximumUnicodeStringLength is not zero, and Source contains more than
614 If String is NULL, then ASSERT().
615 If String is not aligned on a 16-bit boundary, then ASSERT().
616 If PcdMaximumUnicodeStringLength is not zero, and String contains more than
639 If String is NULL, then ASSERT().
640 If String is not aligned on a 16-bit boundary, then ASSERT().
641 If PcdMaximumUnicodeStringLength is not zero, and String contains more than
662 Null-terminated Unicode string SecondString. If FirstString is identical to
667 If FirstString is NULL, then ASSERT().
668 If FirstString is not aligned on a 16-bit boundary, then ASSERT().
669 If SecondString is NULL, then ASSERT().
670 If SecondString is not aligned on a 16-bit boundary, then ASSERT().
671 If PcdMaximumUnicodeStringLength is not zero, and FirstString contains more
674 If PcdMaximumUnicodeStringLength is not zero, and SecondString contains more
699 characters will be compared. If Length is 0, then 0 is returned. If
704 If Length > 0 and FirstString is NULL, then ASSERT().
705 If Length > 0 and FirstString is not aligned on a 16-bit boundary, then ASSERT().
706 If Length > 0 and SecondString is NULL, then ASSERT().
707 If Length > 0 and SecondString is not aligned on a 16-bit boundary, then ASSERT().
708 If PcdMaximumUnicodeStringLength is not zero, and Length is greater than
710 If PcdMaximumUnicodeStringLength is not zero, and FirstString contains more than
713 If PcdMaximumUnicodeStringLength is not zero, and SecondString contains more than
745 Unicode String is returned. If Source and Destination overlap, then the
748 If Destination is NULL, then ASSERT().
749 If Destination is not aligned on a 16-bit boundary, then ASSERT().
750 If Source is NULL, then ASSERT().
751 If Source is not aligned on a 16-bit boundary, then ASSERT().
752 If Source and Destination overlap, then ASSERT().
753 If PcdMaximumUnicodeStringLength is not zero, and Destination contains more
756 If PcdMaximumUnicodeStringLength is not zero, and Source contains more than
759 If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination
789 Destination, and Destination is always Null-terminated. If Length is 0, then
790 Destination is returned unmodified. If Source and Destination overlap, then
793 If Destination is NULL, then ASSERT().
794 If Length > 0 and Destination is not aligned on a 16-bit boundary, then ASSERT().
795 If Length > 0 and Source is NULL, then ASSERT().
796 If Length > 0 and Source is not aligned on a 16-bit boundary, then ASSERT().
797 If Source and Destination overlap, then ASSERT().
798 If PcdMaximumUnicodeStringLength is not zero, and Length is greater than
800 If PcdMaximumUnicodeStringLength is not zero, and Destination contains more
803 If PcdMaximumUnicodeStringLength is not zero, and Source contains more than
806 If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination
833 If SearchString is not found in String, then NULL is returned. If
836 If String is NULL, then ASSERT().
837 If String is not aligned on a 16-bit boundary, then ASSERT().
838 If SearchString is NULL, then ASSERT().
839 If
841 If PcdMaximumUnicodeStringLength is not zero, and SearchString
848 @retval NULL If the SearchString does not appear in String.
849 @return others If there is a match.
876 If String is NULL, then ASSERT().
877 If String is not aligned in a 16-bit boundary, then ASSERT().
878 If String has only pad spaces, then 0 is returned.
879 If String has no pad spaces or valid decimal digits,
881 If the number represented by String overflows according
884 If PcdMaximumUnicodeStringLength is not zero, and String contains
916 If String is NULL, then ASSERT().
917 If String is not aligned in a 16-bit boundary, then ASSERT().
918 If String has only pad spaces, then 0 is returned.
919 If String has no pad spaces or valid decimal digits,
921 If the number represented by String overflows according
924 If PcdMaximumUnicodeStringLength is not zero, and String contains
951 If "x" appears in the input string, it must be prefixed with at least one 0.
958 If String is NULL, then ASSERT().
959 If String is not aligned in a 16-bit boundary, then ASSERT().
960 If String has only pad spaces, then zero is returned.
961 If String has no leading pad spaces, leading zeros or valid hexadecimal digits,
963 If the number represented by String overflows according to the range defined by
966 If PcdMaximumUnicodeStringLength is not zero, and String contains more than
993 If "x" appears in the input string, it must be prefixed with at least one 0.
1000 If String is NULL, then ASSERT().
1001 If String is not aligned in a 16-bit boundary, then ASSERT().
1002 If String has only pad spaces, then zero is returned.
1003 If String has no leading pad spaces, leading zeros or valid hexadecimal digits,
1005 If the number represented by String overflows according to the range defined by
1008 If PcdMaximumUnicodeStringLength is not zero, and String contains more than
1038 If any Unicode characters in Source contain non-zero value in
1041 If Destination is NULL, then ASSERT().
1042 If Source is NULL, then ASSERT().
1043 If Source is not aligned on a 16-bit boundary, then ASSERT().
1044 If Source and Destination overlap, then ASSERT().
1046 If PcdMaximumUnicodeStringLength is not zero, and Source contains
1050 If PcdMaximumAsciiStringLength is not zero, and Source contains more
1083 If any Unicode characters in Source contain non-zero value in
1086 If Source is not aligned on a 16-bit boundary, then ASSERT().
1087 If an error would be returned, then the function will also ASSERT().
1089 If an error is returned, then the Destination is unmodified.
1097 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than StrLen(Source).
1098 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
1099 If Source is NULL.
1100 If PcdMaximumAsciiStringLength is not zero,
1103 If PcdMaximumUnicodeStringLength is not zero,
1106 If DestMax is 0.
1107 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
1127 string Destination, and returns Destination. If Source and Destination
1130 If Destination is NULL, then ASSERT().
1131 If Source is NULL, then ASSERT().
1132 If Source and Destination overlap, then ASSERT().
1133 If PcdMaximumAsciiStringLength is not zero and Source contains more than
1159 are copied from Source to Destination. If Length is 0, then Destination is
1160 returned unmodified. If Length is greater that the number of ASCII characters
1161 in Source, then Destination is padded with Null ASCII characters. If Source
1164 If Destination is NULL, then ASSERT().
1165 If Source is NULL, then ASSERT().
1166 If Source and Destination overlap, then ASSERT().
1167 If PcdMaximumAsciiStringLength is not zero, and Length is greater than
1169 If PcdMaximumAsciiStringLength is not zero, and Source contains more than
1195 If Length > 0 and Destination is NULL, then ASSERT().
1196 If Length > 0 and Source is NULL, then ASSERT().
1197 If PcdMaximumAsciiStringLength is not zero and String contains more than
1220 If String is NULL, then ASSERT().
1221 If PcdMaximumAsciiStringLength is not zero and String contains more than
1242 Null-terminated ASCII string SecondString. If FirstString is identical to
1247 If FirstString is NULL, then ASSERT().
1248 If SecondString is NULL, then ASSERT().
1249 If PcdMaximumAsciiStringLength is not zero and FirstString contains more than
1252 If PcdMaximumAsciiStringLength is not zero and SecondString contains more
1276 ASCII string FirstString to the Null-terminated ASCII string SecondString. If
1282 If FirstString is NULL, then ASSERT().
1283 If SecondString is NULL, then ASSERT().
1284 If PcdMaximumAsciiStringLength is not zero and FirstString contains more than
1287 If PcdMaximumAsciiStringLength is not zero and SecondString contains more
1314 will be compared. If Length is 0, then 0 is returned. If FirstString is
1319 If Length > 0 and FirstString is NULL, then ASSERT().
1320 If Length > 0 and SecondString is NULL, then ASSERT().
1321 If PcdMaximumAsciiStringLength is not zero, and Length is greater than
1323 If PcdMaximumAsciiStringLength is not zero, and FirstString contains more than
1326 If PcdMaximumAsciiStringLength is not zero, and SecondString contains more than
1360 If Destination is NULL, then ASSERT().
1361 If Source is NULL, then ASSERT().
1362 If PcdMaximumAsciiStringLength is not zero and Destination contains more than
1365 If PcdMaximumAsciiStringLength is not zero and Source contains more than
1368 If PcdMaximumAsciiStringLength is not zero and concatenating Destination and
1397 Destination, and Destination is always Null-terminated. If Length is 0, then
1398 Destination is returned unmodified. If Source and Destination overlap, then
1401 If Length > 0 and Destination is NULL, then ASSERT().
1402 If Length > 0 and Source is NULL, then ASSERT().
1403 If Source and Destination overlap, then ASSERT().
1404 If PcdMaximumAsciiStringLength is not zero, and Length is greater than
1406 If PcdMaximumAsciiStringLength is not zero, and Destination contains more than
1409 If PcdMaximumAsciiStringLength is not zero, and Source contains more than
1412 If PcdMaximumAsciiStringLength is not zero, and concatenating Destination and
1438 and returns the first occurrence of SearchString. If SearchString is not
1439 found in String, then NULL is returned. If the length of SearchString is zero,
1442 If String is NULL, then ASSERT().
1443 If SearchString is NULL, then ASSERT().
1445 If PcdMaximumAsciiStringLength is not zero, and SearchString or
1452 @retval NULL If the SearchString does not appear in String.
1453 @retval others If there is a match return the first occurrence of SearchingString.
1454 If the length of SearchString is zero,return String.
1481 If String has only pad spaces, then 0 is returned.
1482 If String has no pad spaces or valid decimal digits, then 0 is returned.
1483 If the number represented by String overflows according to the range defined by
1485 If String is NULL, then ASSERT().
1486 If PcdMaximumAsciiStringLength is not zero, and String contains more than
1518 If String has only pad spaces, then 0 is returned.
1519 If String has no pad spaces or valid decimal digits, then 0 is returned.
1520 If the number represented by String overflows according to the range defined by
1522 If String is NULL, then ASSERT().
1523 If PcdMaximumAsciiStringLength is not zero, and String contains more than
1549 The prefix "0x" is optional. Both "x" and "X" is allowed in "0x" prefix. If "x"
1557 If String has only pad spaces, then 0 is returned.
1558 If String has no leading pad spaces, leading zeros or valid hexadecimal digits, then
1561 If the number represented by String overflows according to the range defined by UINTN,
1563 If String is NULL, then ASSERT().
1564 If PcdMaximumAsciiStringLength is not zero,
1590 The prefix "0x" is optional. Both "x" and "X" is allowed in "0x" prefix. If "x"
1598 If String has only pad spaces, then 0 is returned.
1599 If String has no leading pad spaces, leading zeros or valid hexadecimal digits, then
1602 If the number represented by String overflows according to the range defined by UINT64,
1604 If String is NULL, then ASSERT().
1605 If PcdMaximumAsciiStringLength is not zero,
1634 If Destination is NULL, then ASSERT().
1635 If Destination is not aligned on a 16-bit boundary, then ASSERT().
1636 If Source is NULL, then ASSERT().
1637 If Source and Destination overlap, then ASSERT().
1638 If PcdMaximumAsciiStringLength is not zero, and Source contains more than
1641 If PcdMaximumUnicodeStringLength is not zero, and Source contains more than
1673 If Destination is not aligned on a 16-bit boundary, then ASSERT().
1674 If an error would be returned, then the function will also ASSERT().
1676 If an error is returned, then the Destination is unmodified.
1684 @retval RETURN_BUFFER_TOO_SMALL If DestMax is NOT greater than StrLen(Source).
1685 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
1686 If Source is NULL.
1687 If PcdMaximumUnicodeStringLength is not zero,
1690 If PcdMaximumAsciiStringLength is not zero,
1693 If DestMax is 0.
1694 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
1711 If Value >= 100, then ASSERT().
1731 If Value >= 0xA0, then ASSERT().
1732 If (Value & 0x0F) >= 0x0A, then ASSERT().
1794 instead if calling the InitializeListHead() function to perform the
1812 If ListHead is NULL, then ASSERT().
1833 If ListHead is NULL, then ASSERT().
1834 If Entry is NULL, then ASSERT().
1835 If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1837 If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
1863 If ListHead is NULL, then ASSERT().
1864 If Entry is NULL, then ASSERT().
1865 If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1867 If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
1891 If List is empty, then List is returned.
1893 If List is NULL, then ASSERT().
1894 If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1896 If PcdMaximumLinkedListLength is not zero, and the number of nodes
1918 or InitializeListHead(). If List is empty, then List is returned.
1920 If List is NULL, then ASSERT().
1921 If Node is NULL, then ASSERT().
1922 If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1924 If PcdMaximumLinkedListLength is not zero, and List contains more than
1926 If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
1931 @return The pointer to the next node if one exists. Otherwise List is returned.
1947 or InitializeListHead(). If List is empty, then List is returned.
1949 If List is NULL, then ASSERT().
1950 If Node is NULL, then ASSERT().
1951 If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1953 If PcdMaximumLinkedListLength is not zero, and List contains more than
1955 If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
1960 @return The pointer to the previous node if one exists. Otherwise List is returned.
1972 Checks to see if a doubly linked list is empty or not.
1974 Checks to see if the doubly linked list is empty. If the linked list contains
1977 If ListHead is NULL, then ASSERT().
1978 If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
1980 If PcdMaximumLinkedListLength is not zero, and the number of nodes
1998 Determines if a node in a doubly linked list is the head node of a the same
2002 Returns TRUE if Node is equal to List. Returns FALSE if Node is one of the
2006 If List is NULL, then ASSERT().
2007 If Node is NULL, then ASSERT().
2008 If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead(),
2010 If PcdMaximumLinkedListLength is not zero, and the number of nodes
2013 If PcdVerifyNodeInList is TRUE and Node is not a node in List the and Node is not equal
2032 Determines if a node the last node in a doubly linked list.
2034 Returns TRUE if Node is the last node in the doubly linked list specified by
2038 If List is NULL, then ASSERT().
2039 If Node is NULL, then ASSERT().
2040 If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
2042 If PcdMaximumLinkedListLength is not zero, and the number of nodes
2045 If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
2066 If FirstEntry is identical to SecondEntry, then SecondEntry is returned.
2073 If FirstEntry is NULL, then ASSERT().
2074 If SecondEntry is NULL, then ASSERT().
2075 If PcdVerifyNodeInList is TRUE and SecondEntry and FirstEntry are not in the
2077 If PcdMaximumLinkedListLength is not zero, and the number of nodes in the
2101 this function to release the memory used by this node if that is required. On
2102 exit, the node following Entry in the doubly linked list is returned. If
2106 If Entry is NULL, then ASSERT().
2107 If Entry is the head node of an empty list, then ASSERT().
2108 If PcdMaximumLinkedListLength is not zero, and the number of nodes in the
2134 If Count is greater than 63, then ASSERT().
2157 If Count is greater than 63, then ASSERT().
2180 If Count is greater than 63, then ASSERT().
2204 If Count is greater than 31, then ASSERT().
2228 If Count is greater than 31, then ASSERT().
2252 If Count is greater than 63, then ASSERT().
2276 If Count is greater than 63, then ASSERT().
2296 value specified by Operand. If Operand is zero, then -1 is returned.
2316 value specified by Operand. If Operand is zero, then -1 is returned.
2338 value specified by Operand. If Operand is zero, then -1 is returned.
2343 @retval 0..31 Position of the highest bit set in Operand if found.
2359 value specified by Operand. If Operand is zero, then -1 is returned.
2364 @retval 0..63 Position of the highest bit set in Operand if found.
2380 specified by Operand. If Operand is zero, then zero is returned.
2400 specified by Operand. If Operand is zero, then zero is returned.
2546 If Divisor is 0, then ASSERT().
2570 If Divisor is 0, then ASSERT().
2591 unsigned value Divisor and generates a 64-bit unsigned quotient. If Remainder
2595 If Divisor is 0, then ASSERT().
2619 unsigned value Divisor and generates a 64-bit unsigned quotient. If Remainder
2623 If Divisor is 0, then ASSERT().
2647 value Divisor and generates a 64-bit signed quotient. If Remainder is not
2652 If Divisor is 0, then the quotient and remainder should be assumed to be
2655 If Divisor is 0, then ASSERT().
2680 If the Buffer is NULL, then ASSERT().
2701 If the Buffer is NULL, then ASSERT().
2723 If the Buffer is NULL, then ASSERT().
2744 If the Buffer is NULL, then ASSERT().
2766 If the Buffer is NULL, then ASSERT().
2787 If the Buffer is NULL, then ASSERT().
2809 If the Buffer is NULL, then ASSERT().
2830 If the Buffer is NULL, then ASSERT().
2855 If 8-bit operations are not supported, then ASSERT().
2856 If StartBit is greater than 7, then ASSERT().
2857 If EndBit is greater than 7, then ASSERT().
2858 If EndBit is less than StartBit, then ASSERT().
2885 If 8-bit operations are not supported, then ASSERT().
2886 If StartBit is greater than 7, then ASSERT().
2887 If EndBit is greater than 7, then ASSERT().
2888 If EndBit is less than StartBit, then ASSERT().
2889 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
2919 If 8-bit operations are not supported, then ASSERT().
2920 If StartBit is greater than 7, then ASSERT().
2921 If EndBit is greater than 7, then ASSERT().
2922 If EndBit is less than StartBit, then ASSERT().
2923 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
2953 If 8-bit operations are not supported, then ASSERT().
2954 If StartBit is greater than 7, then ASSERT().
2955 If EndBit is greater than 7, then ASSERT().
2956 If EndBit is less than StartBit, then ASSERT().
2957 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
2988 If 8-bit operations are not supported, then ASSERT().
2989 If StartBit is greater than 7, then ASSERT().
2990 If EndBit is greater than 7, then ASSERT().
2991 If EndBit is less than StartBit, then ASSERT().
2992 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
2993 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3022 If 16-bit operations are not supported, then ASSERT().
3023 If StartBit is greater than 15, then ASSERT().
3024 If EndBit is greater than 15, then ASSERT().
3025 If EndBit is less than StartBit, then ASSERT().
3052 If 16-bit operations are not supported, then ASSERT().
3053 If StartBit is greater than 15, then ASSERT().
3054 If EndBit is greater than 15, then ASSERT().
3055 If EndBit is less than StartBit, then ASSERT().
3056 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3086 If 16-bit operations are not supported, then ASSERT().
3087 If StartBit is greater than 15, then ASSERT().
3088 If EndBit is greater than 15, then ASSERT().
3089 If EndBit is less than StartBit, then ASSERT().
3090 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3120 If 16-bit operations are not supported, then ASSERT().
3121 If StartBit is greater than 15, then ASSERT().
3122 If EndBit is greater than 15, then ASSERT().
3123 If EndBit is less than StartBit, then ASSERT().
3124 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3155 If 16-bit operations are not supported, then ASSERT().
3156 If StartBit is greater than 15, then ASSERT().
3157 If EndBit is greater than 15, then ASSERT().
3158 If EndBit is less than StartBit, then ASSERT().
3159 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3160 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3189 If 32-bit operations are not supported, then ASSERT().
3190 If StartBit is greater than 31, then ASSERT().
3191 If EndBit is greater than 31, then ASSERT().
3192 If EndBit is less than StartBit, then ASSERT().
3219 If 32-bit operations are not supported, then ASSERT().
3220 If StartBit is greater than 31, then ASSERT().
3221 If EndBit is greater than 31, then ASSERT().
3222 If EndBit is less than StartBit, then ASSERT().
3223 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3253 If 32-bit operations are not supported, then ASSERT().
3254 If StartBit is greater than 31, then ASSERT().
3255 If EndBit is greater than 31, then ASSERT().
3256 If EndBit is less than StartBit, then ASSERT().
3257 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3287 If 32-bit operations are not supported, then ASSERT().
3288 If StartBit is greater than 31, then ASSERT().
3289 If EndBit is greater than 31, then ASSERT().
3290 If EndBit is less than StartBit, then ASSERT().
3291 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3322 If 32-bit operations are not supported, then ASSERT().
3323 If StartBit is greater than 31, then ASSERT().
3324 If EndBit is greater than 31, then ASSERT().
3325 If EndBit is less than StartBit, then ASSERT().
3326 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3327 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3356 If 64-bit operations are not supported, then ASSERT().
3357 If StartBit is greater than 63, then ASSERT().
3358 If EndBit is greater than 63, then ASSERT().
3359 If EndBit is less than StartBit, then ASSERT().
3386 If 64-bit operations are not supported, then ASSERT().
3387 If StartBit is greater than 63, then ASSERT().
3388 If EndBit is greater than 63, then ASSERT().
3389 If EndBit is less than StartBit, then ASSERT().
3390 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3420 If 64-bit operations are not supported, then ASSERT().
3421 If StartBit is greater than 63, then ASSERT().
3422 If EndBit is greater than 63, then ASSERT().
3423 If EndBit is less than StartBit, then ASSERT().
3424 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3454 If 64-bit operations are not supported, then ASSERT().
3455 If StartBit is greater than 63, then ASSERT().
3456 If EndBit is greater than 63, then ASSERT().
3457 If EndBit is less than StartBit, then ASSERT().
3458 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3489 If 64-bit operations are not supported, then ASSERT().
3490 If StartBit is greater than 63, then ASSERT().
3491 If EndBit is greater than 63, then ASSERT().
3492 If EndBit is less than StartBit, then ASSERT().
3493 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3494 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
3527 The result is returned as UINT8. If Length is Zero, then Zero is
3530 If Buffer is NULL, then ASSERT().
3531 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3554 returned. If Length is 0, then 0 is returned.
3556 If Buffer is NULL, then ASSERT().
3557 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3579 The 16-bit result is returned. If Length is 0, then 0 is returned.
3581 If Buffer is NULL, then ASSERT().
3582 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
3583 If Length is not aligned on a 16-bit boundary, then ASSERT().
3584 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3606 are dropped. Then, the two's complement of the sum is returned. If Length
3609 If Buffer is NULL, then ASSERT().
3610 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
3611 If Length is not aligned on a 16-bit boundary, then ASSERT().
3612 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3634 The 32-bit result is returned. If Length is 0, then 0 is returned.
3636 If Buffer is NULL, then ASSERT().
3637 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
3638 If Length is not aligned on a 32-bit boundary, then ASSERT().
3639 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3661 are dropped. Then, the two's complement of the sum is returned. If Length
3664 If Buffer is NULL, then ASSERT().
3665 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
3666 If Length is not aligned on a 32-bit boundary, then ASSERT().
3667 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3689 The 64-bit result is returned. If Length is 0, then 0 is returned.
3691 If Buffer is NULL, then ASSERT().
3692 If Buffer is not aligned on a 64-bit boundary, then ASSERT().
3693 If Length is not aligned on a 64-bit boundary, then ASSERT().
3694 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3716 are dropped. Then, the two's complement of the sum is returned. If Length
3719 If Buffer is NULL, then ASSERT().
3720 If Buffer is not aligned on a 64-bit boundary, then ASSERT().
3721 If Length is not aligned on a 64-bit boundary, then ASSERT().
3722 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
3779 If JumpBuffer is NULL, then ASSERT().
3780 For Itanium processors, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
3806 If JumpBuffer is NULL, then ASSERT().
3807 For Itanium processors, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
3808 If Value is 0, then ASSERT().
3875 Returns TRUE if interrupts are currently enabled. Otherwise
3893 InterruptState. If InterruptState is TRUE, then interrupts are enabled. If
3897 @param InterruptState TRUE if interrupts should enabled. FALSE if
3936 If EntryPoint is NULL, then ASSERT().
3937 If NewStack is NULL, then ASSERT().
3993 #if defined (MDE_CPU_IPF)
3999 Flushes the cache lines specified by Address and Length. If Address is not aligned
4001 If Address + Length is not aligned on a cache line boundary, then the entire cache
4003 the entire cache if that is more efficient than flushing the specified range. If
4007 If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
4009 @param Address The base address of the instruction lines to invalidate. If
4011 physical address. If the CPU is in a virtual addressing mode,
4069 No parameter checking is performed on Index. If the Index value is beyond the
4921 register 0. No parameter checking is performed on Index, and if the Index value
4946 No parameter checking is performed on Index. If the Index value is beyond
4973 on Index. If the Index value is beyond the implemented PMC register range,
4999 on Index. If the Index value is beyond the implemented PMD register range,
5023 register 0. No parameter checking is performed on Index. If the Index value
5051 checking is performed on Index. If the Index value is beyond the implemented
5080 dependent. No parameter checking is performed on Index. If the Index value is
5107 is implementation dependent. No parameter checking is performed on Index. If the
5211 If Index is invalid then 0xFFFFFFFFFFFFFFFF is returned. This function is only
5262 If Index is invalid then 0xFFFFFFFFFFFFFFFF is returned. This function is only
5281 parameter checking is performed on Index, and if the Index value is beyond the implemented MSR
5302 parameter checking is performed on Index, and if the Index value is beyond the implemented MSR
5322 Determines if the CPU is currently executing in virtual, physical, or mixed mode.
5325 If the CPU is in virtual mode(PSR.RT=1, PSR.DT=1, PSR.IT=1), then 1 is returned.
5326 If the CPU is in physical mode(PSR.RT=0, PSR.DT=0, PSR.IT=0), then 0 is returned.
5327 If the CPU is not in physical mode or virtual mode, then it is in mixed mode,
5349 may be designated as required or optional. If a PAL procedure is specified
5361 execution of the procedure. If the PalEntryPoint does not point to a valid
5385 #if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
5401 UINT32 IF:1; ///< Interrupt Enable Flag.
5427 UINT32 IF:1; ///< Interrupt Enable Flag.
5537 #if defined (MDE_CPU_IA32)
5554 #if defined (MDE_CPU_X64)
5668 If Eax is not NULL, then the value of EAX after CPUID is returned in Eax.
5669 If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
5670 If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
5671 If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
5706 If Eax is not NULL, then the value of EAX after CPUID is returned in Eax.
5707 If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
5708 If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
5709 If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
5911 If StartBit is greater than 31, then ASSERT().
5912 If EndBit is greater than 31, then ASSERT().
5913 If EndBit is less than StartBit, then ASSERT().
5943 If StartBit is greater than 31, then ASSERT().
5944 If EndBit is greater than 31, then ASSERT().
5945 If EndBit is less than StartBit, then ASSERT().
5946 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
5980 If StartBit is greater than 31, then ASSERT().
5981 If EndBit is greater than 31, then ASSERT().
5982 If EndBit is less than StartBit, then ASSERT().
5983 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6017 If StartBit is greater than 31, then ASSERT().
6018 If EndBit is greater than 31, then ASSERT().
6019 If EndBit is less than StartBit, then ASSERT().
6020 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6056 If StartBit is greater than 31, then ASSERT().
6057 If EndBit is greater than 31, then ASSERT().
6058 If EndBit is less than StartBit, then ASSERT().
6059 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6060 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6221 If StartBit is greater than 63, then ASSERT().
6222 If EndBit is greater than 63, then ASSERT().
6223 If EndBit is less than StartBit, then ASSERT().
6252 If StartBit is greater than 63, then ASSERT().
6253 If EndBit is greater than 63, then ASSERT().
6254 If EndBit is less than StartBit, then ASSERT().
6255 If Value is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6289 If StartBit is greater than 63, then ASSERT().
6290 If EndBit is greater than 63, then ASSERT().
6291 If EndBit is less than StartBit, then ASSERT().
6292 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6326 If StartBit is greater than 63, then ASSERT().
6327 If EndBit is greater than 63, then ASSERT().
6328 If EndBit is less than StartBit, then ASSERT().
6329 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6364 If StartBit is greater than 63, then ASSERT().
6365 If EndBit is greater than 63, then ASSERT().
6366 If EndBit is less than StartBit, then ASSERT().
6367 If AndData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6368 If OrData is larger than the bitmask value range specified by StartBit and EndBit, then ASSERT().
6947 If Gdtr is NULL, then ASSERT().
6965 If Gdtr is NULL, then ASSERT().
6983 If Idtr is NULL, then ASSERT().
7001 If Idtr is NULL, then ASSERT().
7052 If Buffer is NULL, then ASSERT().
7053 If Buffer is not aligned on a 16-byte boundary, then ASSERT().
7072 If Buffer is NULL, then ASSERT().
7073 If Buffer is not aligned on a 16-byte boundary, then ASSERT().
7074 If Buffer was not saved with AsmFxSave(), then ASSERT().
7458 @param LinearAddress The address of the cache line to flush. If the CPU is
7460 physical address. If the CPU is in a virtual
7485 If the current execution mode is not 32-bit protected mode, then ASSERT().
7486 If EntryPoint is NULL, then ASSERT().
7487 If NewStack is NULL, then ASSERT().
7531 If the current execution mode is not 32-bit paged mode, then ASSERT().
7532 If EntryPoint is NULL, then ASSERT().
7533 If NewStack is NULL, then ASSERT().
7576 If the current execution mode is not 32-bit protected mode with flat
7578 If EntryPoint is 0, then ASSERT().
7579 If NewStack is 0, then ASSERT().
7618 If the current execution mode is not 64-bit paged mode, then ASSERT().
7619 If EntryPoint is 0, then ASSERT().
7620 If NewStack is 0, then ASSERT().
7658 in ExtraStackSize. If parameters are passed to the 16-bit real mode code,
7662 If RealModeBufferSize is NULL, then ASSERT().
7663 If ExtraStackSize is NULL, then ASSERT().
7689 If ThunkContext is NULL, then ASSERT().
7721 If EFLAGS specifies interrupts enabled, or any of the 16-bit real mode code enables interrupts,
7725 If EFLAGS specifies interrupts enabled, or any of the 16-bit real mode code enables interrupts,
7729 If THUNK_ATTRIBUTE_BIG_REAL_MODE is set in the ThunkAttributes field of ThunkContext, then the user code
7732 If neither THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 nor THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL are set in
7736 If THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 is set and THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL is clear in
7737 ThunkAttributes, then attempt to use the INT 15 service to disable the A20 mask. If this INT 15 call fails,
7740 If THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 is clear and THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL is set in
7743 If ThunkContext is NULL, then ASSERT().
7744 If AsmPrepareThunk16() was not previously called with ThunkContext, then ASSERT().
7745 If both THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 and THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL are set in
7767 control to a 16-bit real mode entry point, and returns the results. If the
7769 service should be used. If the caller intends to make more than one 16-bit
7770 real mode thunk, then it is more efficient if AsmPrepareThunk16() is called
7791 if Rand is NULL, then ASSERT().
7808 if Rand is NULL, then ASSERT().
7825 if Rand is NULL, then ASSERT().