]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/BaseMemoryTestLibNull/BaseMemoryTestLibNull.c
2 Null instance of Memory Test Library.
4 Copyright (c) 2009, Intel Corporation.<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #include <Library/BaseMemoryTestLib.h>
18 Test a system memory range with sparsely sampled memory units.
20 This function tests a system memory range, whose memory units
21 are sampled sparsely. It leads to quick performance but less
24 @param StartAddress Start address of the memory range to test.
25 @param Length Length of the memory range to test.
26 @param ErrorAddress Address of the memory where error is encountered.
28 @retval RETURN_SUCCESS The memory range passes test.
29 @retval RETURNEFI_DEVICE_ERROR The memory range does not pass test.
35 IN VOID
*StartAddress
,
37 OUT VOID
**ErrorAddress
40 return RETURN_SUCCESS
;
44 Test a system memory range with extensively sampled memory units.
46 This function tests a system memory range, whose memory units
47 are sampled extensively. Compared with SparseMemoryTest, it achieves
48 more reliability and less performance.
50 @param StartAddress Start address of the memory range to test.
51 @param Length Length of the memory range to test.
52 @param ErrorAddress Address of the memory where error is encountered.
54 @retval RETURN_SUCCESS The memory range passes test.
55 @retval RETURNEFI_DEVICE_ERROR The memory range does not pass test.
61 IN VOID
*StartAddress
,
63 OUT VOID
**ErrorAddress
66 return RETURN_SUCCESS
;
70 Test a system memory range with every memory unit checked.
72 This function tests a system memory range, whose memory units
73 are fully checked. It leads to complete reliability with the
76 @param StartAddress Start address of the memory range to test.
77 @param Length Length of the memory range to test.
78 @param ErrorAddress Address of the memory where error is encountered.
80 @retval RETURN_SUCCESS The memory range passes test.
81 @retval RETURNEFI_DEVICE_ERROR The memory range does not pass test.
87 IN VOID
*StartAddress
,
89 OUT VOID
**ErrorAddress
92 return RETURN_SUCCESS
;