1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Don't need more ISR than IRQ lines + syscall vector

This commit is contained in:
Adrien Bourmault 2021-02-26 17:03:39 +01:00
parent 03220c04e1
commit b270c2608c
Signed by: neox
GPG Key ID: 6EB408FE0ACEC664
3 changed files with 5 additions and 22 deletions

View File

@ -90,26 +90,7 @@ void KeBrkDumpRegisters(ISRFrame_t *regs);
_isr1(0,1,2,3,4,5,6,7,8,9); _isr1(10,11,12,13,14,15,16,17,18,19);
_isr1(20,21,22,23,24,25,26,27,28,29); _isr1(30,31,32,33,34,35,36,37,38,39);
_isr1(40,41,42,43,44,45,46,47,48,49); _isr1(50,51,52,53,54,55,56,57,58,59);
_isr1(60,61,62,63,64,65,66,67,68,69); _isr1(70,71,72,73,74,75,76,77,78,79);
_isr1(80,81,82,83,84,85,86,87,88,89); _isr1(90,91,92,93,94,95,96,97,98,99);
_isr1(100,101,102,103,104,105,106,107,108,109);
_isr1(110,111,112,113,114,115,116,117,118,119);
_isr1(120,121,122,123,124,125,126,127,128,129);
_isr1(130,131,132,133,134,135,136,137,138,139);
_isr1(140,141,142,143,144,145,146,147,148,149);
_isr1(150,151,152,153,154,155,156,157,158,159);
_isr1(160,161,162,163,164,165,166,167,168,169);
_isr1(170,171,172,173,174,175,176,177,178,179);
_isr1(180,181,182,183,184,185,186,187,188,189);
_isr1(190,191,192,193,194,195,196,197,198,199);
_isr1(200,201,202,203,204,205,206,207,208,209);
_isr1(210,211,212,213,214,215,216,217,218,219);
_isr1(220,221,222,223,224,225,226,227,228,229);
_isr1(230,231,232,233,234,235,236,237,238,239);
_isr1(240,241,242,243,244,245,246,247,248,249);
_isr0(250,251,252,253,254);
void isr255();
_isr1(40,41,42,43,44,45,46,47,48,49); void isr128();
#undef _isr1
#undef _isr0

View File

@ -393,7 +393,7 @@ static void DoubleFaultHandler(ISRFrame_t *regs)
static void EarlySyscallHandler(ISRFrame_t *regs)
{
DebugLog("Got a system call !\n");
DebugLog("Got an early system call !\n");
}
void KeBrkDumpRegisters(ISRFrame_t *regs)

View File

@ -176,8 +176,10 @@ IsrWithoutErrCode 31
;; IRQs
%assign i 32
%rep 255
%rep 16
IsrWithoutErrCode i
%assign i i+1
%endrep
;; Syscall Vector
IsrWithoutErrCode 128