Nbr of interrupts
Nbr of interrupts
How many software interrupts can I have? Cause if I should use this instead of call gates, I spose I need lots of them
Re:Nbr of interrupts
There 256 possible IDT entries.
Exceptions take up 32, IRQs take up 16. Do the maths .
Exceptions take up 32, IRQs take up 16. Do the maths .
Re:Nbr of interrupts
The standard way to do this is by adding another level of indirection. In the case of Linux, iirc it uses 0x80 as the sole software interrupt, and then expects the syscall number (1->200 something) in eax.
Re:Nbr of interrupts
Hello,
There's enough of them. Even the biggest OSes (like Linux or Windows) only use a few compared to the number available.How many software interrupts can I have?
What's the problem of using call gates? They function and are set up in a similar way than interrupts and they are known to be even faster (AFAIK).Cause if I should use this instead of call gates
You can use more than one routine for every interrupt/call gate.I spose I need lots of them