2 * COPYRIGHT: See COPYING.ARM in the top level directory
3 * PROJECT: ReactOS UEFI Boot Manager
4 * FILE: boot/environ/app/bootmgr/rtlcompat.c
5 * PURPOSE: RTL Library Compatibility Routines
6 * PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
9 /* INCLUDES ******************************************************************/
13 /* FUNCTIONS *****************************************************************/
17 CHECK_PAGED_CODE_RTL (
22 // boot-code is always ok
33 UNREFERENCED_PARAMETER(Tag
);
34 return BlMmAllocateHeap(Bytes
);
44 UNREFERENCED_PARAMETER(Tag
);
51 _Out_writes_bytes_all_(Length
) VOID UNALIGNED
*Destination
,
52 _In_reads_bytes_(Length
) CONST VOID UNALIGNED
*Source
,
56 RtlCopyMemory(Destination
, Source
, Length
);
57 return STATUS_SUCCESS
;
63 IN PVOID FailedAssertion
,
66 IN PCHAR Message OPTIONAL
69 EfiPrintf(L
"*** ASSERTION %s FAILED AT %d in %s (%s) ***\r \n",
82 EfiPrintf(L
"%s\r\n", Format
);
89 _In_ ULONG BugCheckCode
,
90 _In_ ULONG_PTR BugCheckParameter1
,
91 _In_ ULONG_PTR BugCheckParameter2
,
92 _In_ ULONG_PTR BugCheckParameter3
,
93 _In_ ULONG_PTR BugCheckParameter4
)