mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-21 03:52:04 +03:00
entry: Move some initialisation calls to after config initialisation
This commit is contained in:
parent
46be45fabc
commit
56ceffb44b
@ -125,9 +125,6 @@ __attribute__((section(".stage3_entry")))
|
||||
#endif
|
||||
__attribute__((noreturn))
|
||||
void stage3_common(void) {
|
||||
init_flush_irqs();
|
||||
init_io_apics();
|
||||
|
||||
volume_iterate_parts(boot_volume,
|
||||
if (!init_config_disk(_PART)) {
|
||||
boot_volume = _PART;
|
||||
@ -145,6 +142,9 @@ void stage3_common(void) {
|
||||
if (randomise_mem)
|
||||
pmm_randomise_memory();
|
||||
|
||||
init_flush_irqs();
|
||||
init_io_apics();
|
||||
|
||||
if (verbose) {
|
||||
print("Boot drive: %x\n", boot_volume->index);
|
||||
print("Boot partition: %d\n", boot_volume->partition);
|
||||
|
Loading…
Reference in New Issue
Block a user