Skip to content

Commit

Permalink
[HAL][NTOS][WIN32SS] Boot fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Dec 6, 2023
1 parent d71e3e5 commit fd01846
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hal/halx86/generic/halinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ HalInitSystem(IN ULONG BootPhase,
HalpInitPhase1();

/* Initialize Phase 1 of the x86 emulator */
HalInitializeBios(1, LoaderBlock);
// HalInitializeBios(1, LoaderBlock);
}

/* All done, return */
Expand Down
1 change: 1 addition & 0 deletions ntoskrnl/inbv/inbv.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ InbvDriverInitialize(
_In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
_In_ ULONG Count)
{
return FALSE;
PCHAR CommandLine;
BOOLEAN ResetMode = FALSE; // By default do not reset the video mode
ULONG i;
Expand Down
8 changes: 4 additions & 4 deletions win32ss/drivers/miniport/genfbvmp/genfbvmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ GenFbVmpSetPowerState(

/* Unused */
DPRINT1("GenFbVmpSetPowerState(%p)\n", HwDeviceExtension);
__debugbreak();
// __debugbreak();
return ERROR_INVALID_FUNCTION; // NO_ERROR;
}

Expand All @@ -1053,7 +1053,7 @@ GenFbVmpGetPowerState(

/* Unused */
DPRINT1("GenFbVmpGetPowerState(%p)\n", HwDeviceExtension);
__debugbreak();
// __debugbreak();
return ERROR_INVALID_FUNCTION; // NO_ERROR;
}

Expand All @@ -1071,7 +1071,7 @@ GenFbVmpGetVideoChildDescriptor(

/* Unused */
DPRINT1("GenFbVmpGetVideoChildDescriptor(%p)\n", HwDeviceExtension);
__debugbreak();
// __debugbreak();
return NO_ERROR; // FIXME: Should return VIDEO_ENUM_NO_MORE_DEVICES;
}

Expand All @@ -1087,7 +1087,7 @@ DriverEntry(
ULONG BusNumber;

VideoDebugPrint((Info, "GenFbVmp: DriverEntry\n"));
__debugbreak();
// __debugbreak();

VideoPortZeroMemory(&VideoInitData, sizeof(VideoInitData));
VideoInitData.HwInitDataSize = sizeof(VideoInitData);
Expand Down

0 comments on commit fd01846

Please sign in to comment.