MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -52,7 +52,7 @@ UINT32 GenericMemoryTestMonoPattern[GENERIC_CACHELINE_SIZE / 4]
|
||||
If all Length bytes of the two buffers are identical, then 0 is returned. Otherwise, the
|
||||
value returned is the first mismatched byte in SourceBuffer subtracted from the first
|
||||
mismatched byte in DestinationBuffer.
|
||||
|
||||
|
||||
If Length = 0, then ASSERT().
|
||||
|
||||
@param[in] DestinationBuffer The pointer to the destination buffer to compare.
|
||||
@ -62,7 +62,7 @@ UINT32 GenericMemoryTestMonoPattern[GENERIC_CACHELINE_SIZE / 4]
|
||||
@return 0 All Length bytes of the two buffers are identical.
|
||||
@retval Non-zero The first mismatched byte in SourceBuffer subtracted from the first
|
||||
mismatched byte in DestinationBuffer.
|
||||
|
||||
|
||||
**/
|
||||
INTN
|
||||
EFIAPI
|
||||
@ -89,7 +89,7 @@ CompareMemWithoutCheckArgument (
|
||||
@retval EFI_SUCCESS Successful construct the base memory range through GCD service.
|
||||
@retval EFI_OUT_OF_RESOURCE Could not allocate needed resource from base memory.
|
||||
@retval Others Failed to construct base memory range through GCD service.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
ConstructBaseMemoryRange (
|
||||
@ -119,7 +119,7 @@ ConstructBaseMemoryRange (
|
||||
Destroy the link list base on the correspond link list type.
|
||||
|
||||
@param[in] Private Point to generic memory test driver's private data.
|
||||
|
||||
|
||||
**/
|
||||
VOID
|
||||
DestroyLinkList (
|
||||
@ -181,7 +181,7 @@ ConvertToTestedMemory (
|
||||
|
||||
@retval EFI_SUCCESS Successful add all the extended memory to system memory map.
|
||||
@retval Others Failed to add the tested extended memory.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
UpdateMemoryMap (
|
||||
@ -218,7 +218,7 @@ UpdateMemoryMap (
|
||||
|
||||
@retval EFI_SUCCESS Successful test the range of memory.
|
||||
@retval Others Failed to test the range of memory.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
DirectRangeTest (
|
||||
@ -263,7 +263,7 @@ DirectRangeTest (
|
||||
@retval EFI_SUCCESS Successful construct the non-tested memory range through GCD service.
|
||||
@retval EFI_OUT_OF_RESOURCE Could not allocate needed resource from base memory.
|
||||
@retval Others Failed to construct non-tested memory range through GCD service.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
ConstructNonTestedMemoryRange (
|
||||
@ -324,7 +324,7 @@ ConstructNonTestedMemoryRange (
|
||||
|
||||
@retval EFI_SUCCESS Successful write the test pattern into the non-tested memory.
|
||||
@retval Others The test pattern may not really write into the physical memory.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
WriteMemory (
|
||||
@ -372,7 +372,7 @@ WriteMemory (
|
||||
|
||||
@retval EFI_SUCCESS Successful verify the range of memory, no errors' location found.
|
||||
@retval Others The range of memory have errors contained.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
VerifyMemory (
|
||||
@ -432,7 +432,7 @@ VerifyMemory (
|
||||
NULL,
|
||||
(UINT8 *) ExtendedErrorData + sizeof (EFI_STATUS_CODE_DATA),
|
||||
ExtendedErrorData->DataHeader.Size
|
||||
);
|
||||
);
|
||||
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
@ -446,12 +446,12 @@ VerifyMemory (
|
||||
/**
|
||||
Initialize the generic memory test.
|
||||
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[in] Level The coverage level of the memory test.
|
||||
@param[out] RequireSoftECCInit Indicate if the memory need software ECC init.
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[in] Level The coverage level of the memory test.
|
||||
@param[out] RequireSoftECCInit Indicate if the memory need software ECC init.
|
||||
|
||||
@retval EFI_SUCCESS The generic memory test is initialized correctly.
|
||||
@retval EFI_NO_MEDIA The system had no memory to be tested.
|
||||
@retval EFI_SUCCESS The generic memory test is initialized correctly.
|
||||
@retval EFI_NO_MEDIA The system had no memory to be tested.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
@ -542,12 +542,12 @@ InitializeMemoryTest (
|
||||
/**
|
||||
Perform the memory test.
|
||||
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[out] TestedMemorySize Return the tested extended memory size.
|
||||
@param[out] TotalMemorySize Return the whole system physical memory size.
|
||||
The total memory size does not include memory in a slot with a disabled DIMM.
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[out] TestedMemorySize Return the tested extended memory size.
|
||||
@param[out] TotalMemorySize Return the whole system physical memory size.
|
||||
The total memory size does not include memory in a slot with a disabled DIMM.
|
||||
@param[out] ErrorOut TRUE if the memory error occured.
|
||||
@param[in] IfTestAbort Indicates that the user pressed "ESC" to skip the memory test.
|
||||
@param[in] IfTestAbort Indicates that the user pressed "ESC" to skip the memory test.
|
||||
|
||||
@retval EFI_SUCCESS One block of memory passed the test.
|
||||
@retval EFI_NOT_FOUND All memory blocks have already been tested.
|
||||
@ -667,7 +667,7 @@ GenPerformMemoryTest (
|
||||
/**
|
||||
Finish the memory test.
|
||||
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[in] This The protocol instance pointer.
|
||||
|
||||
@retval EFI_SUCCESS Success. All resources used in the memory test are freed.
|
||||
|
||||
@ -705,12 +705,12 @@ GenMemoryTestFinished (
|
||||
/**
|
||||
Provides the capability to test the compatible range used by some special drivers.
|
||||
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[in] This The protocol instance pointer.
|
||||
@param[in] StartAddress The start address of the compatible memory range that
|
||||
must be below 16M.
|
||||
@param[in] Length The compatible memory range's length.
|
||||
|
||||
@retval EFI_SUCCESS The compatible memory range pass the memory test.
|
||||
@param[in] Length The compatible memory range's length.
|
||||
|
||||
@retval EFI_SUCCESS The compatible memory range pass the memory test.
|
||||
@retval EFI_INVALID_PARAMETER The compatible memory range are not below Low 16M.
|
||||
|
||||
**/
|
||||
@ -780,9 +780,9 @@ GenCompatibleRangeTest (
|
||||
Perform the address line walking ones test.
|
||||
|
||||
@param[in] Private Point to generic memory test driver's private data.
|
||||
|
||||
@retval EFI_SUCCESS Successful finished walking ones test.
|
||||
@retval EFI_OUT_OF_RESOURCE Could not get resource in base memory.
|
||||
|
||||
@retval EFI_SUCCESS Successful finished walking ones test.
|
||||
@retval EFI_OUT_OF_RESOURCE Could not get resource in base memory.
|
||||
@retval EFI_ACCESS_DENIED Code may can not run here because if walking one test
|
||||
failed, system may be already halt.
|
||||
|
||||
@ -861,9 +861,9 @@ GENERIC_MEMORY_TEST_PRIVATE mGenericMemoryTestPrivate = {
|
||||
|
||||
It initializes private data to default value.
|
||||
|
||||
@param[in] ImageHandle The firmware allocated handle for the EFI image.
|
||||
@param[in] ImageHandle The firmware allocated handle for the EFI image.
|
||||
@param[in] SystemTable A pointer to the EFI System Table.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The entry point is executed successfully.
|
||||
@retval EFI_NOT_FOUND Can't find HandOff Hob in HobList.
|
||||
@retval other Some error occurs when executing this entry point.
|
||||
|
Reference in New Issue
Block a user