Interrupts without IDT
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Interrupts without IDT
How would I make an interrupt handler without the 32-bit specific IDT? The tutorial is aimed at 32-bit x86, and uses the IDT, which I believe is 32-bit.
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Interrupts without IDT
I also have absolutely no idea what the OP wants. All interrupts are dispatched through the IDT, and the IDT format is mode dependent. If you want to handle interrupts, you must register your interrupt handler in the IDT, and it has to be in the format valid for your current mode of operation. Handling interrupts without IDT makes no sense. That is like wanting to be washed but not made wet.
Carpe diem!
Re: Interrupts without IDT
How would you know which interrupt handler to call for each interrupt? One solution would be to construct a table linking the two....
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Interrupts without IDT
OK, I guess this throws me off:
The Interrupt Descriptor Table (IDT) is specific to the IA-32 architecture.
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
Re: Interrupts without IDT
I think this means you won’t find this horribly complex system on other architectures, like 68k, ARM, PPC, MIPS, or RISC-IVPavelCheckov wrote:OK, I guess this throws me off:The Interrupt Descriptor Table (IDT) is specific to the IA-32 architecture.
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
Discord:https://discord.gg/zn2vV2Su