Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2130 → Rev 2129

/kernel/branches/Kolibri-acpi/core/apic.inc
5,7 → 5,7
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
IRQ_RESERVED = 24 ; 16 or 24
IRQ_RESERVE = 24 ; 16 or 24
 
iglobal
IRQ_COUNT dd 24
62,11 → 62,10
shr eax, 16
inc al
movzx eax, al
cmp al, IRQ_RESERVED
cmp al, IRQ_RESERVE
jbe @f
mov al, IRQ_RESERVED
@@:
mov [IRQ_COUNT], eax
mov al, IRQ_RESERVE
@@: mov [IRQ_COUNT], eax
 
; Reroute IOAPIC & mask all interrupts
xor ecx, ecx
107,7 → 106,7
 
;init handlers table
 
mov ecx, IRQ_RESERVED
mov ecx, IRQ_RESERVE
mov edi, irqh_tab
@@:
mov eax, edi