mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
Revert "Kernel: Replace IRQHandler with the new InterruptHandler class"
This reverts commit 6c72736b26
.
I am unable to boot on my home machine with this change in the tree.
This commit is contained in:
parent
8e21e31b3a
commit
e64c335e5a
Notes:
sideshowbarker
2024-07-19 09:52:37 +09:00
Author: https://github.com/awesomekling
Commit: e64c335e5a
29 changed files with 169 additions and 193 deletions
|
@ -101,14 +101,8 @@ extern "C" [[noreturn]] void init()
|
|||
|
||||
bool text_debug = KParams::the().has("text_debug");
|
||||
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
setup_acpi();
|
||||
|
||||
// Sample test to see if the ACPI parser is working...
|
||||
kprintf("ACPI: HPET table @ P 0x%x\n", ACPIParser::the().find_table("HPET"));
|
||||
|
||||
new VFS;
|
||||
new DebugLogDevice;
|
||||
|
||||
|
@ -120,6 +114,8 @@ extern "C" [[noreturn]] void init()
|
|||
|
||||
RTC::initialize();
|
||||
PIC::initialize();
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
// call global constructors after gtd and itd init
|
||||
for (ctor_func_t* ctor = &start_ctors; ctor < &end_ctors; ctor++)
|
||||
|
@ -140,6 +136,9 @@ extern "C" [[noreturn]] void init()
|
|||
new VirtualConsole(1);
|
||||
VirtualConsole::switch_to(0);
|
||||
|
||||
// Sample test to see if the ACPI parser is working...
|
||||
kprintf("ACPI: HPET table @ P 0x%x\n", ACPIParser::the().find_table("HPET"));
|
||||
|
||||
PCI::Initializer::the().test_and_initialize(KParams::the().has("nopci_mmio"));
|
||||
PCI::Initializer::the().dismiss();
|
||||
|
||||
|
@ -172,6 +171,7 @@ extern "C" [[noreturn]] void init()
|
|||
LoopbackAdapter::the();
|
||||
auto e1000 = E1000NetworkAdapter::autodetect();
|
||||
auto rtl8139 = RTL8139NetworkAdapter::autodetect();
|
||||
|
||||
Process::initialize();
|
||||
Thread::initialize();
|
||||
|
||||
|
@ -231,7 +231,7 @@ void init_stage2()
|
|||
hang();
|
||||
}
|
||||
|
||||
auto pata0 = PATAChannel::autodetect(PATAChannel::ChannelType::Primary, force_pio);
|
||||
auto pata0 = PATAChannel::create(PATAChannel::ChannelType::Primary, force_pio);
|
||||
NonnullRefPtr<DiskDevice> root_dev = *pata0->master_device();
|
||||
|
||||
root = root.substring(strlen("/dev/hda"), root.length() - strlen("/dev/hda"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue