Skip to content

Commit

Permalink
[BOOTDATA] Add SMP Entry
Browse files Browse the repository at this point in the history
[HALX86] Enable SMP Hal for x86
  • Loading branch information
DarkFire01 committed Oct 31, 2023
1 parent b3194e3 commit d0450cd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions boot/bootdata/livecd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ MinimalUI=Yes
[Operating Systems]
LiveCD="LiveCD"
LiveCD_Debug="LiveCD (Debug)"
LiveCD_Macpi="LiveCD ACPI SMP (Debug)"
LiveCD_Aacpi="LiveCD ACPI APIC (Debug)"
LiveCD_VBoxDebug="LiveCD (VBox Debug)"
LiveCD_Screen="LiveCD (Screen)"
Expand All @@ -24,6 +25,11 @@ BootType=Windows2003
SystemPath=\reactos
Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /MININT

[LiveCD_Macpi]
BootType=Windows2003
SystemPath=\reactos
Options=/HAL=halmacpi.dll /KERNEL=ntkrnlmp.exe /DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /MININT

[LiveCD_Aacpi]
BootType=Windows2003
SystemPath=\reactos
Expand Down
10 changes: 5 additions & 5 deletions boot/bootdata/txtsetup.sif
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ DefaultLanguage = 00000409
pci_up = "Standard PC Uniprocessor"
;pci_mp = "Standard PC Multiprocessor"
acpi_up = "ACPI PC Uniprocessor"
;acpi_mp = "ACPI PC Multiprocessor"
acpi_mp = "ACPI PC Multiprocessor"
apic_up = "Standard APIC PC Uniprocessor"
aacpi_up = "ACPI APIC PC Uniprocessor"
xbox = "Original Xbox (x86 based)"
Expand All @@ -244,7 +244,7 @@ x64_mp = "Standard x64 Multiprocessor"
pci_up = "PC UP"
;pci_mp = "PC MP"
acpi_up = "ACPI UP"
;acpi_mp = "ACPI MP"
acpi_mp = "ACPI MP"
apic_up = "APIC UP"
aacpi_up = "AAPIC UP"
xbox = "Xbox"
Expand All @@ -266,9 +266,9 @@ hal.dll = 1,,,,,,,2,,,,1,2
ntoskrnl.exe = 1,,,,,,,2,,,,1,2
halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2

;[Files.acpi_mp]
;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
;halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2
[Files.acpi_mp]
ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
halmacpi.dll = 1,,,,,,,2,,,hal.dll,1,2

[Files.apic_up]
ntoskrnl.exe = 1,,,,,,,2,,,,1,2
Expand Down
2 changes: 1 addition & 1 deletion hal/halx86/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if(ARCH STREQUAL "i386")
add_hal(halxbox SOURCES xbox/halxbox.rc COMPONENTS xbox up)
add_hal(halpc98 SOURCES pc98/halpc98.rc COMPONENTS pc98 up)

#add_hal(halmacpi SOURCES smp/halmacpi.rc COMPONENTS generic acpi smp apic)
add_hal(halmacpi SOURCES smp/halmacpi.rc COMPONENTS generic acpi smp apic)
#add_hal(halmp SOURCES mp/halmp.rc COMPONENTS generic legacy smp apic)

elseif(ARCH STREQUAL "amd64")
Expand Down

0 comments on commit d0450cd

Please sign in to comment.