2 Null routines for memory profile for DxeCore.
4 Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Guid/MemoryProfile.h>
15 Record memory profile of multilevel caller.
17 @param[in] CallerAddress Address of caller.
18 @param[in] Action Memory profile action.
19 @param[in] MemoryType Memory type.
20 EfiMaxMemoryType means the MemoryType is unknown.
21 @param[in] Buffer Buffer address.
22 @param[in] Size Buffer size.
23 @param[in] ActionString String for memory profile action.
24 Only needed for user defined allocate action.
26 @return EFI_SUCCESS Memory profile is updated.
27 @return EFI_UNSUPPORTED Memory profile is unsupported,
28 or memory profile for the image is not required,
29 or memory profile for the memory type is not required.
30 @return EFI_ACCESS_DENIED It is during memory profile data getting.
31 @return EFI_ABORTED Memory profile recording is not enabled.
32 @return EFI_OUT_OF_RESOURCES No enough resource to update memory profile for allocate action.
33 @return EFI_NOT_FOUND No matched allocate info found for free action.
38 MemoryProfileLibRecord (
39 IN PHYSICAL_ADDRESS CallerAddress
,
40 IN MEMORY_PROFILE_ACTION Action
,
41 IN EFI_MEMORY_TYPE MemoryType
,
44 IN CHAR8
*ActionString OPTIONAL
47 return EFI_UNSUPPORTED
;