Minor grammar and bug fixes.
This commit is contained in:
parent
cfdb21e905
commit
c2fc23c327
|
@ -974,7 +974,7 @@ EFI_STATUS LoadKernel(EFI_HANDLE ImageHandle, GFX_INFO* Graphics, EFI_CONFIGURAT
|
||||||
AwaitKey(L"\0");
|
AwaitKey(L"\0");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
KernelStatus = IMAGE_FILE_EXECUTABLE_IMAGE;
|
KernelStatus = DOS_EXECUTABLE;
|
||||||
Print(L"\r\n Error 0x%llx: This file cannot be run in UEFI mode.\r\n", KernelStatus);
|
Print(L"\r\n Error 0x%llx: This file cannot be run in UEFI mode.\r\n", KernelStatus);
|
||||||
return KernelStatus;
|
return KernelStatus;
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,6 +129,7 @@ EFI_STATUS InitGfx(EFI_HANDLE ImageHandle, GFX_INFO* Graphics) {
|
||||||
#ifdef GFX_DEBUG_NAMING
|
#ifdef GFX_DEBUG_NAMING
|
||||||
Print(L"Number of NAME2 handles: %llu\r\n", NumName2Handles);
|
Print(L"Number of NAME2 handles: %llu\r\n", NumName2Handles);
|
||||||
Print(L"Number of Device Path handles: %llu\r\n", NumDevicePathHandles);
|
Print(L"Number of Device Path handles: %llu\r\n", NumDevicePathHandles);
|
||||||
|
AwaitKey(L"\0");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (DeviceInd = 0; DeviceInd < NumGfxHandles; DeviceInd++) {
|
for (DeviceInd = 0; DeviceInd < NumGfxHandles; DeviceInd++) {
|
||||||
|
@ -283,7 +284,7 @@ EFI_STATUS InitGfx(EFI_HANDLE ImageHandle, GFX_INFO* Graphics) {
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef GFX_DEBUG_NAMING
|
#ifdef GFX_DEBUG_NAMING
|
||||||
Print(L"Name2Device GetController ChildName error: 0x%llu\r\n", GfxStatus);
|
Print(L"Name2Device GetController ChildName error: 0x%llx\r\n", GfxStatus);
|
||||||
#endif
|
#endif
|
||||||
ChildDisplayName = DefaultChildName;
|
ChildDisplayName = DefaultChildName;
|
||||||
}
|
}
|
||||||
|
@ -483,7 +484,7 @@ EFI_STATUS InitGfx(EFI_HANDLE ImageHandle, GFX_INFO* Graphics) {
|
||||||
// CatPrint solves an edgecase in GNU-EFI relating to an off-by-one error.
|
// CatPrint solves an edgecase in GNU-EFI relating to an off-by-one error.
|
||||||
|
|
||||||
POOL_PRINT StringName = { 0 };
|
POOL_PRINT StringName = { 0 };
|
||||||
CatPrint(&StringName, L"%c. %s: %s @ Memory Address 0xllx, using %s\r\n", DeviceInd + 0x30 /* Shift into the ASCII numbers */, ControllerDisplayName, ChildDisplayName, GraphicsHandles[DeviceInd], DriverDisplayName);
|
CatPrint(&StringName, L"%c. %s: %s @ Memory Address 0x%llx, using %s\r\n", DeviceInd + 0x30 /* Shift into the ASCII numbers */, ControllerDisplayName, ChildDisplayName, GraphicsHandles[DeviceInd], DriverDisplayName);
|
||||||
NameBuffer[DeviceInd] = StringName.str;
|
NameBuffer[DeviceInd] = StringName.str;
|
||||||
|
|
||||||
#ifdef GFX_DEBUG_NAMING
|
#ifdef GFX_DEBUG_NAMING
|
||||||
|
|
Loading…
Reference in New Issue
Block a user