From a2170a4fee7dcf2777dcf8e0a57623259bf6faad Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 9 Jul 2013 21:04:46 +0000 Subject: [PATCH] Removing useless stdcall enable_irq git-svn-id: svn://kolibrios.org@3791 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/detect/dev_fd.inc | 1 - kernel/trunk/kernel.asm | 6 ------ 2 files changed, 7 deletions(-) diff --git a/kernel/trunk/detect/dev_fd.inc b/kernel/trunk/detect/dev_fd.inc index 2640a10e37..91f2eee480 100644 --- a/kernel/trunk/detect/dev_fd.inc +++ b/kernel/trunk/detect/dev_fd.inc @@ -33,6 +33,5 @@ wait_cmos: stdcall attach_int_handler, 6, FDCInterrupt, 0 DEBUGF 1, "K : Set IDE IRQ6 return code %x\n", eax - stdcall enable_irq, 6 ; FDD @@: diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index ae534d332e..3ab780051a 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -1138,10 +1138,6 @@ set_interrupts_for_IDE_controllers: DEBUGF 1, "K : Set IDE IRQ14 return code %x\n", eax stdcall attach_int_handler, 15, IDE_common_irq_handler, 0 DEBUGF 1, "K : Set IDE IRQ15 return code %x\n", eax - - stdcall enable_irq, 14 - stdcall enable_irq, 15 - jmp .enable_IDE_interrupt ;-------------------------------------- .sata_ide: @@ -1159,8 +1155,6 @@ set_interrupts_for_IDE_controllers: movzx eax, al stdcall attach_int_handler, eax, IDE_common_irq_handler, 0 DEBUGF 1, "K : Set IDE IRQ%d return code %x\n", [IDE_Interrupt]:1, eax - - stdcall enable_irq, eax ;-------------------------------------- .enable_IDE_interrupt: mov esi, boot_enabling_ide