mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-25 11:55:28 +01:00
Define some symbols as weak so they can be redefined in Clover
(MemoryTracker)
This commit is contained in:
parent
6ac9ed1b54
commit
f80e3774c4
@ -29,6 +29,7 @@
|
||||
@return A pointer to the allocated buffer or NULL if allocation fails.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID *
|
||||
InternalAllocatePages (
|
||||
IN EFI_MEMORY_TYPE MemoryType,
|
||||
@ -132,6 +133,7 @@ AllocateReservedPages (
|
||||
@param Pages The number of 4 KB pages to free.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID
|
||||
EFIAPI
|
||||
FreePages (
|
||||
@ -170,6 +172,7 @@ FreePages (
|
||||
@return A pointer to the allocated buffer or NULL if allocation fails.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID *
|
||||
InternalAllocateAlignedPages (
|
||||
IN EFI_MEMORY_TYPE MemoryType,
|
||||
@ -351,6 +354,7 @@ AllocateAlignedReservedPages (
|
||||
@param Pages The number of 4 KB pages to free.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID
|
||||
EFIAPI
|
||||
FreeAlignedPages (
|
||||
@ -381,6 +385,7 @@ FreeAlignedPages (
|
||||
@return A pointer to the allocated buffer or NULL if allocation fails.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID *
|
||||
InternalAllocatePool (
|
||||
IN EFI_MEMORY_TYPE MemoryType,
|
||||
@ -832,6 +837,7 @@ ReallocateReservedPool (
|
||||
@param Buffer The pointer to the buffer to free.
|
||||
|
||||
**/
|
||||
__attribute__((weak))
|
||||
VOID
|
||||
EFIAPI
|
||||
FreePool(
|
||||
|
Loading…
Reference in New Issue
Block a user