Sha256: 160641c8f75d0436d030f48bebc941ccda68e6792c102be1dec7a70e6ded7784
Contents?: true
Size: 572 Bytes
Versions: 31
Compression:
Stored size: 572 Bytes
Contents
%macro IRQ 2 global irq%1 irq%1: cli push byte 0 ; push a dummy error code push byte %2 ; push the IRQ number jmp irq_common_stub %endmacro extern irq_handler irq_common_stub: pusha ; push all general-purpose registers mov ax, ds ; lower 16-bits of eax = ds push eax ; save the data segment descriptor mov ax, 0x10 ; load the kernel data segment descriptor mov edx, eax call irq_handler %assign i 0 %rep 8 ISR_NOERRCODE i %assign i i+1 %endrep ISR_NOERRCODE 9
Version data entries
31 entries across 31 versions & 2 rubygems