Skip to content

Commit e1d6dc2

Browse files
Revert "boot fixes"
This reverts commit 7773056.
1 parent f8b5a02 commit e1d6dc2

File tree

7 files changed

+34
-5
lines changed

7 files changed

+34
-5
lines changed

boot/bootdata/hybridcd.ini

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,31 @@ TitleText=ReactOS Hybrid-CD
77
MinimalUI=Yes
88

99
[Operating Systems]
10+
Setup="Setup"
11+
Setup_Debug="Setup (Debug)"
12+
Setup_Screen="Setup (Screen)"
1013
LiveCD="LiveCD"
1114
LiveCD_Debug="LiveCD (Debug)"
1215
LiveCD_Screen="LiveCD (Screen)"
16+
LiveCD_LogFile="LiveCD (Log file)"
1317
LiveCD_RamDisk="LiveCD in RAM"
1418
LiveCD_RamDisk_Debug="LiveCD in RAM (Debug)"
1519
LiveCD_RamDisk_Screen="LiveCD in RAM (Screen)"
1620

21+
[Setup]
22+
BootType=ReactOSSetup
23+
SystemPath=\bootcd
24+
25+
[Setup_Debug]
26+
BootType=ReactOSSetup
27+
SystemPath=\bootcd
28+
Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /NOGUIBOOT /SIFOPTIONSOVERRIDE
29+
30+
[Setup_Screen]
31+
BootType=ReactOSSetup
32+
SystemPath=\bootcd
33+
Options=/DEBUG /DEBUGPORT=SCREEN /SIFOPTIONSOVERRIDE
34+
1735
[LiveCD]
1836
BootType=Windows2003
1937
SystemPath=\livecd\reactos
@@ -29,6 +47,11 @@ BootType=Windows2003
2947
SystemPath=\livecd\reactos
3048
Options=/DEBUG /DEBUGPORT=SCREEN /SOS /MININT
3149

50+
[LiveCD_LogFile]
51+
BootType=Windows2003
52+
SystemPath=\livecd\reactos
53+
Options=/DEBUG /DEBUGPORT=FILE:\Device\HarddiskX\PartitionY\debug.log /SOS /MININT
54+
3255
[LiveCD_RamDisk]
3356
BootType=Windows2003
3457
SystemPath=ramdisk(0)\reactos

boot/freeldr/freeldr/arch/uefi/uefivid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ UefiInitializeVideo(VOID)
4343
}
4444

4545
/* We don't need high resolutions for freeldr */
46-
// gop->SetMode(gop, LOWEST_SUPPORTED_RES);
46+
gop->SetMode(gop, LOWEST_SUPPORTED_RES);
4747

4848
framebufferData.BaseAddress = (ULONG_PTR)gop->Mode->FrameBufferBase;
4949
framebufferData.BufferSize = gop->Mode->FrameBufferSize;

hal/halx86/generic/bios.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ BOOLEAN
6161
FASTCALL
6262
HalpOpcodeInvalid(IN PHAL_BIOS_FRAME BiosFrame)
6363
{
64-
64+
PUCHAR Inst = (PUCHAR)(BiosFrame->CsBase + BiosFrame->Eip);
65+
66+
/* Print error message */
67+
DPRINT("HAL: An invalid V86 opcode was encountered at address %X:%X\n"
68+
"Opcode: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n",
69+
BiosFrame->SegCs, BiosFrame->Eip,
70+
Inst[0], Inst[1], Inst[2], Inst[3], Inst[4],
71+
Inst[5], Inst[6], Inst[7], Inst[8], Inst[9]);
6572

6673
/* Break */
6774
// DbgBreakPoint();

modules/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/)
5050
endforeach(item)
5151
endif()
5252

53-
5453
# Add font file DroidSansFallback.ttf for LiveCD
5554
# See also boot/bootdata/packages/reactos.dff.in
5655
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/optional/DroidSansFallback.ttf)

modules/drivers/vgapnp.sys

-48.5 KB
Binary file not shown.

win32ss/drivers/miniport/vbe/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ target_link_libraries(vgapnp libcntpr)
1212

1313
# pc98vid takes place of vga service on PC-98 platform
1414
if(NOT SARCH STREQUAL "pc98")
15-
#add_cd_file(TARGET vgapnp DESTINATION reactos/system32/drivers FOR all)
15+
add_cd_file(TARGET vgapnp DESTINATION reactos/system32/drivers FOR all)
1616
add_registry_inf(vbemp_reg.inf)
1717
endif()

win32ss/drivers/miniport/vga/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ add_library(vga MODULE ${SOURCE} vgamp.rc)
88
set_module_type(vga kernelmodedriver)
99
add_importlibs(vga videoprt)
1010
add_pch(vga vgamp.h SOURCE)
11-
#add_cd_file(TARGET vga DESTINATION reactos/system32/drivers FOR all)
11+
add_cd_file(TARGET vga DESTINATION reactos/system32/drivers FOR all)
1212
add_registry_inf(vga_reg.inf)

0 commit comments

Comments
 (0)