diff options
author | Marvin Borner | 2019-09-15 22:29:44 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-15 22:29:44 +0200 |
commit | 49e44e032d43d12dc3b8686d5993382fc2a96ca4 (patch) | |
tree | 659158a0c398269dd693bea934f152523899602c /src | |
parent | ee0d964302299633fd1f3dd99f61119ae5bedaaa (diff) |
Removed unnecessary lines
Diffstat (limited to 'src')
-rw-r--r-- | src/input/ps2/mouse.c | 4 | ||||
-rw-r--r-- | src/interrupts/idt.c | 1 | ||||
-rw-r--r-- | src/interrupts/isr.asm | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/input/ps2/mouse.c b/src/input/ps2/mouse.c index 8e5a3e3..1819b05 100644 --- a/src/input/ps2/mouse.c +++ b/src/input/ps2/mouse.c @@ -37,9 +37,6 @@ void mouse_handler(struct regs *a_r) { default: break; } - if (mm_n[0] == 1) { - terminal_write_string("CLICK!\n"); - } } inline void mouse_wait(char a_type) { @@ -102,7 +99,6 @@ void mouse_install() { irq_install_handler(2, mouse_handler); } - char get_mouse(int n) { if (mm_n[n] == 1) { mm_n[n] = 0; diff --git a/src/interrupts/idt.c b/src/interrupts/idt.c index c75d378..0fb95df 100644 --- a/src/interrupts/idt.c +++ b/src/interrupts/idt.c @@ -31,7 +31,6 @@ void idt_set_gate(unsigned char num, unsigned long base, unsigned short sel, uns idt[num].flags = flags; } - // Install IDT void idt_install() { // Set IDT pointer and limit diff --git a/src/interrupts/isr.asm b/src/interrupts/isr.asm index d99a3dc..cf75157 100644 --- a/src/interrupts/isr.asm +++ b/src/interrupts/isr.asm @@ -249,7 +249,6 @@ isr31: push byte 31 jmp isr_common_stub - extern fault_handler ; Stores the ISR in the stack and calls the C fault handler |