Removed the old unused interrupt 177.
This commit is contained in:
parent
93fb66ff90
commit
35fc0f6dfe
|
@ -205,7 +205,6 @@ extern "C" void isr29();
|
||||||
extern "C" void isr30();
|
extern "C" void isr30();
|
||||||
extern "C" void isr31();
|
extern "C" void isr31();
|
||||||
extern "C" void isr128();
|
extern "C" void isr128();
|
||||||
extern "C" void isr177();
|
|
||||||
extern "C" void irq0 ();
|
extern "C" void irq0 ();
|
||||||
extern "C" void irq1 ();
|
extern "C" void irq1 ();
|
||||||
extern "C" void irq2 ();
|
extern "C" void irq2 ();
|
||||||
|
|
|
@ -54,16 +54,6 @@ namespace Sortix
|
||||||
return microsecondssinceboot;
|
return microsecondssinceboot;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnInt177(CPU::InterruptRegisters* Regs, void* /*user*/)
|
|
||||||
{
|
|
||||||
#ifdef PLATFORM_X86
|
|
||||||
Log::PrintF("ds=0x%x, edi=0x%x, esi=0x%x, ebp=0x%x, esp=0x%x, ebx=0x%x, edx=0x%x, ecx=0x%x, eax=0x%x, int_no=0x%x, err_code=0x%x, eip=0x%x, cs=0x%x, eflags=0x%x, useresp=0x%x, ss=0x%x\n", Regs->ds, Regs->edi, Regs->esi, Regs->ebp, Regs->esp, Regs->ebx, Regs->edx, Regs->ecx, Regs->eax, Regs->int_no, Regs->err_code, Regs->eip, Regs->cs, Regs->eflags, Regs->useresp, Regs->ss);
|
|
||||||
#else
|
|
||||||
#warning "INT 177 is not supported on this arch"
|
|
||||||
while(true);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void RequestIQR0()
|
void RequestIQR0()
|
||||||
{
|
{
|
||||||
// The value we send to the PIT is the value to divide it's input clock
|
// The value we send to the PIT is the value to divide it's input clock
|
||||||
|
@ -100,7 +90,6 @@ namespace Sortix
|
||||||
|
|
||||||
// First, register our timer callback.
|
// First, register our timer callback.
|
||||||
Interrupt::RegisterHandler(Interrupt::IRQ0, &OnIRQ0, NULL);
|
Interrupt::RegisterHandler(Interrupt::IRQ0, &OnIRQ0, NULL);
|
||||||
Interrupt::RegisterHandler(177, &OnInt177, NULL);
|
|
||||||
|
|
||||||
Syscall::Register(SYSCALL_UPTIME, (void*) SysUptime);
|
Syscall::Register(SYSCALL_UPTIME, (void*) SysUptime);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,6 @@ ISR_NOERRCODE 29
|
||||||
ISR_NOERRCODE 30
|
ISR_NOERRCODE 30
|
||||||
ISR_NOERRCODE 31
|
ISR_NOERRCODE 31
|
||||||
ISR_NOERRCODE 128
|
ISR_NOERRCODE 128
|
||||||
ISR_NOERRCODE 177
|
|
||||||
IRQ 0, 32
|
IRQ 0, 32
|
||||||
IRQ 1, 33
|
IRQ 1, 33
|
||||||
IRQ 2, 34
|
IRQ 2, 34
|
||||||
|
|
Loading…
Reference in New Issue