ReactOS  r74406
rtlcompat.c File Reference
#include "bl.h"
Include dependency graph for rtlcompat.c:

Go to the source code of this file.

Functions

PVOID NTAPI RtlpAllocateMemory (_In_ ULONG Bytes, _In_ ULONG Tag)
 
VOID NTAPI RtlpFreeMemory (_In_ PVOID Mem, _In_ ULONG Tag)
 
NTSTATUS NTAPI RtlpSafeCopyMemory (_Out_writes_bytes_all_(Length) VOID UNALIGNED *Destination, _In_reads_bytes_(Length) CONST VOID UNALIGNED *Source, _In_ SIZE_T Length)
 
VOID NTAPI RtlAssert (IN PVOID FailedAssertion, IN PVOID FileName, IN ULONG LineNumber, IN PCHAR Message OPTIONAL)
 
ULONG DbgPrint (const char *Format,...)
 
VOID NTAPI KeBugCheckEx (_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
 

Variables

PVOID MmHighestUserAddress = (PVOID)0xFFFFFFFF
 

Function Documentation

ULONG DbgPrint ( const char Format,
  ... 
)

Definition at line 79 of file rtlcompat.c.

83 {
84  EfiPrintf(L"%s\r\n", Format);
85  return 0;
86 }
Definition: bidi.c:75
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
VOID NTAPI KeBugCheckEx ( _In_ ULONG  BugCheckCode,
_In_ ULONG_PTR  BugCheckParameter1,
_In_ ULONG_PTR  BugCheckParameter2,
_In_ ULONG_PTR  BugCheckParameter3,
_In_ ULONG_PTR  BugCheckParameter4 
)

Definition at line 90 of file rtlcompat.c.

Referenced by ClasspReleaseQueue(), CmGetSystemControlValues(), CmGetSystemDriverList(), CmInitSystem1(), CmpHiveRootSecurityDescriptor(), CmpInitializeCache(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpLoadHiveThread(), CmpSecurityMethod(), CmpValueToData(), DoCrashCommand(), ExAllocatePoolWithTag(), ExFreePoolWithTag(), ExpCheckPoolAllocation(), ExpCheckPoolBlocks(), ExpCheckPoolHeader(), ExpCheckPoolIrqlLevel(), ExpCheckPoolLinks(), ExpCreateSystemRootLink(), ExpInitializeExecutive(), ExpInitNls(), ExpLoadInitialProcess(), ExpSystemErrorHandler(), ExpWorkerThreadEntryPoint(), ExQueueWorkItem(), ExReleaseResourceForThreadLite(), ExReturnPoolQuota(), ExSetResourceOwnerPointer(), FatiCleanup(), FatiCommonClose(), FatiCreate(), FatiOpenExistingFcb(), FsRtlWorkerThread(), HalInitSystem(), HaliReadMPConfigTable(), HalpAcpiTableCacheInit(), HalpAllocateArray(), HalpCopyBufferMap(), HalpReportResourceUsage(), InitializePool(), IoAssignResources(), IoCancelFileOpen(), IoCancelIrp(), IofCallDriver(), IofCompleteRequest(), IopActionInterrogateDeviceStack(), IopInitializePlugPlayServices(), IopMarkBootPartition(), IopMountVolume(), IopParseDevice(), IopStartRamdisk(), IoReportTargetDeviceChange(), IoReportTargetDeviceChangeAsynchronous(), KeAcquireInStackQueuedSpinLockAtDpcLevel(), KeAcquireQueuedSpinLockAtDpcLevel(), KeAcquireSpinLockAtDpcLevel(), KeAttachProcess(), KefAcquireSpinLockAtDpcLevel(), KefReleaseSpinLockFromDpcLevel(), KeRaiseIrqlToSynchLevel(), KeReleaseInStackQueuedSpinLockFromDpcLevel(), KeReleaseQueuedSpinLockFromDpcLevel(), KeReleaseSpinLockFromDpcLevel(), KeRemoveQueue(), KeRundownThread(), KeStackAttachProcess(), KiDeliverApc(), KiDispatchException(), KiEspToTrapFrame(), KiExitSystemCallDebugChecks(), KiInitializeKernel(), KiInitMachineDependent(), KiSwapContextExit(), KiSwapContextResume(), KiSystemService(), KiUserModeCallout(), MiDecrementReferenceCount(), MiDecrementShareCount(), MiDeletePte(), MiFreeContiguousMemory(), MiInitializePfn(), MiInitializePfnAndMakePteValid(), MiInitializeSessionIds(), MiInsertPageInList(), MiMakeSystemAddressValid(), MiMakeSystemAddressValidPfn(), MiMapPfnDatabase(), MiniResetComplete(), MiRemoveFromSystemSpace(), MiSpecialPoolCheckPattern(), MmAllocateSpecialPool(), MmArmAccessFault(), MmArmInitSystem(), MmCommitSessionMappedView(), MmCreatePageFileMapping(), MmDeterminePoolType(), MmFreePagesFromMdl(), MmFreeSpecialPool(), MmMapLockedPagesSpecifyCache(), MmPageOutSectionView(), MmSetCleanPage(), MmSetDirtyPage(), MmZeroPageThread(), MupDereferenceVcb(), MxGetNextPage(), NdisIPnPStartDevice(), NdisMAllocateSharedMemory(), ObpCloseHandle(), ObpCloseHandleTableEntry(), PciAddDevice(), Phase1InitializationDiscard(), PnpRootAddDevice(), PopShutdownSystem(), PoShutdownBugCheck(), PsInitSystem(), PsLocateSystemDll(), PspCatchCriticalBreak(), PspExitThread(), PspInitializeSystemDll(), PspUnhandledExceptionInSystemThread(), SeDefaultObjectMethod(), SeInitSystem(), vfatInitFcb(), and xHalTranslateBusAddress().

96 {
97  __assume(0);
98 }
VOID NTAPI RtlAssert ( IN PVOID  FailedAssertion,
IN PVOID  FileName,
IN ULONG  LineNumber,
IN PCHAR Message  OPTIONAL 
)

Definition at line 64 of file rtlcompat.c.

70 {
71  EfiPrintf(L"*** ASSERTION %s FAILED AT %d in %s (%s) ***\r\n",
72  FailedAssertion,
73  LineNumber,
74  FileName,
75  Message);
76 }
Definition: bidi.c:75
CHAR Message[80]
Definition: alive.c:5
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 LineNumber
Definition: acpixf.h:1195
PVOID NTAPI RtlpAllocateMemory ( _In_ ULONG  Bytes,
_In_ ULONG  Tag 
)

Definition at line 30 of file rtlcompat.c.

Referenced by _Success_(), RtlAddRange(), RtlAllocateAndInitializeSid(), RtlCopyRangeList(), RtlpQueryRegistryDirect(), RtlpSysVolCheckOwnerAndSecurity(), and RtlpSysVolCreateSecurityDescriptor().

34 {
36  return BlMmAllocateHeap(Bytes);
37 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:315
_In_ UINT Bytes
Definition: mmcopy.h:9
IN ULONG IN ULONG Tag
Definition: evtlib.h:153
PVOID BlMmAllocateHeap(_In_ ULONG Size)
Definition: heapalloc.c:567
VOID NTAPI RtlpFreeMemory ( _In_ PVOID  Mem,
_In_ ULONG  Tag 
)
NTSTATUS NTAPI RtlpSafeCopyMemory ( _Out_writes_bytes_all_(Length) VOID UNALIGNED Destination,
_In_reads_bytes_(Length) CONST VOID UNALIGNED Source,
_In_ SIZE_T  Length 
)

Definition at line 52 of file rtlcompat.c.

Referenced by RtlLargeIntegerToChar().

57 {
59  return STATUS_SUCCESS;
60 }
#define STATUS_SUCCESS
Definition: contextmenu.cpp:55
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2875
VOID UINTN Length
Definition: acefiex.h:718

Variable Documentation