Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLib/ScanMem8Wrapper.c
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseMemoryLib/ScanMem8Wrapper.c
r48674 r58466 34 34 then a pointer to the matching byte in the target buffer is returned. If no match is found, 35 35 then NULL is returned. If Length is 0, then NULL is returned. 36 36 37 37 If Length > 0 and Buffer is NULL, then ASSERT(). 38 38 If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). … … 58 58 ASSERT (Buffer != NULL); 59 59 ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)Buffer)); 60 60 61 61 return (VOID*)InternalMemScanMem8 (Buffer, Length, Value); 62 62 } 63 63 64 64 /** 65 Scans a target buffer for a UINTN sized value, and returns a pointer to the matching 65 Scans a target buffer for a UINTN sized value, and returns a pointer to the matching 66 66 UINTN sized value in the target buffer. 67 67 … … 70 70 then a pointer to the matching byte in the target buffer is returned. If no match is found, 71 71 then NULL is returned. If Length is 0, then NULL is returned. 72 72 73 73 If Length > 0 and Buffer is NULL, then ASSERT(). 74 74 If Buffer is not aligned on a UINTN boundary, then ASSERT().
Note:
See TracChangeset
for help on using the changeset viewer.