TianoCore EDK2 master
Loading...
Searching...
No Matches
NullMemoryTest.h
Go to the documentation of this file.
1
9#ifndef _NULL_MEMORY_TEST_H_
10#define _NULL_MEMORY_TEST_H_
11
12#include <PiDxe.h>
13
15
16#include <Library/DebugLib.h>
21
22//
23// Definition of memory status.
24//
25#define EFI_MEMORY_PRESENT 0x0100000000000000ULL
26#define EFI_MEMORY_INITIALIZED 0x0200000000000000ULL
27#define EFI_MEMORY_TESTED 0x0400000000000000ULL
28
47EFIAPI
51 OUT BOOLEAN *RequireSoftECCInit
52 );
53
78EFIAPI
81 IN OUT UINT64 *TestedMemorySize,
82 OUT UINT64 *TotalMemorySize,
83 OUT BOOLEAN *ErrorOut,
84 IN BOOLEAN TestAbort
85 );
86
101EFIAPI
104 );
105
122EFIAPI
125 IN EFI_PHYSICAL_ADDRESS StartAddress,
126 IN UINT64 Length
127 );
128
129#endif
EXTENDMEM_COVERAGE_LEVEL
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI GenPerformMemoryTest(IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN OUT UINT64 *TestedMemorySize, OUT UINT64 *TotalMemorySize, OUT BOOLEAN *ErrorOut, IN BOOLEAN TestAbort)
EFI_STATUS EFIAPI InitializeMemoryTest(IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EXTENDMEM_COVERAGE_LEVEL Level, OUT BOOLEAN *RequireSoftECCInit)
EFI_STATUS EFIAPI GenMemoryTestFinished(IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This)
EFI_STATUS EFIAPI GenCompatibleRangeTest(IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS StartAddress, IN UINT64 Length)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29