Revert "sys/idt: init_flush_irqs(), init_idt() -> idt_init()"

This reverts commit c0386d4d94.
This commit is contained in:
Mintsuki
2025-09-21 21:19:08 +02:00
parent 6ea8323cd9
commit b3f0233219
3 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ opened:
noreturn void stage3_common(void) {
#if defined (__x86_64__) || defined (__i386__)
idt_init();
init_flush_irqs();
init_io_apics();
#endif

View File

@@ -13,7 +13,7 @@ static struct idt_entry *dummy_idt = NULL;
void dummy_isr(void);
void idt_init(void) {
void init_flush_irqs(void) {
size_t dummy_idt_size = 256 * sizeof(struct idt_entry);
dummy_idt = ext_mem_alloc(dummy_idt_size);

View File

@@ -53,7 +53,7 @@ enum {
extern int irq_flush_type;
void idt_init(void);
void init_flush_irqs(void);
void flush_irqs(void);
#endif