mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 02:08:30 +00:00
[BOOTMGFW]: Implement the rtlcompat functions, so that Rtl string functions will actually work.
[HIVEBCD]: Start filling out a minimalistic BCD Hive layout to try out the BCD parsing/conversion code in my WC. svn path=/trunk/; revision=70491
This commit is contained in:
parent
de4c83cfb9
commit
bdc681e191
2 changed files with 16 additions and 4 deletions
|
@ -6,6 +6,11 @@ Signature = "$ReactOS$"
|
||||||
BCD,"BCD00000000\Description\Control","System",0x00010003,1
|
BCD,"BCD00000000\Description\Control","System",0x00010003,1
|
||||||
BCD,"BCD00000000\Description\Control","TreatAtSystem",0x00010003,1
|
BCD,"BCD00000000\Description\Control","TreatAtSystem",0x00010003,1
|
||||||
BCD,"BCD00000000\Description\Control","KeyName",2,"BCD00000000"
|
BCD,"BCD00000000\Description\Control","KeyName",2,"BCD00000000"
|
||||||
BCD,"BCD00000000\Objects",,0x00000012
|
|
||||||
|
BCD,"BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Description","Type",0x00010003,0x10100002
|
||||||
|
|
||||||
|
BCD,"BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\12000002","Element",2,"\EFI\BOOT\BOOTIA32.EFI"
|
||||||
|
BCD,"BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\12000004","Element",2,"ReactOS Boot Manager"
|
||||||
|
BCD,"BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\12000005","Element",2,"en-US"
|
||||||
|
|
||||||
; EOF
|
; EOF
|
||||||
|
|
|
@ -30,7 +30,8 @@ RtlpAllocateMemory (
|
||||||
_In_ ULONG Tag
|
_In_ ULONG Tag
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return NULL;
|
UNREFERENCED_PARAMETER(Tag);
|
||||||
|
return BlMmAllocateHeap(Bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
@ -40,7 +41,8 @@ RtlpFreeMemory (
|
||||||
_In_ ULONG Tag
|
_In_ ULONG Tag
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return;
|
UNREFERENCED_PARAMETER(Tag);
|
||||||
|
BlMmFreeHeap(Mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
@ -64,7 +66,11 @@ RtlAssert (
|
||||||
IN PCHAR Message OPTIONAL
|
IN PCHAR Message OPTIONAL
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
EfiPrintf(L"*** ASSERTION %s FAILED AT %d in %s (%s) ***\r \n",
|
||||||
|
FailedAssertion,
|
||||||
|
LineNumber,
|
||||||
|
FileName,
|
||||||
|
Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
ULONG
|
ULONG
|
||||||
|
@ -73,6 +79,7 @@ DbgPrint (
|
||||||
...
|
...
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
EfiPrintf(L"%s\r\n", Format);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue