alcedo/kernel/arch/i386/irq.nim

12 lines
292 B
Nim
Raw Normal View History

type
InterruptFrame = ptr object
ip: uint
cs: uint
flags: uint
sp: uint
ss: uint
# http://clang.llvm.org/docs/AttributeReference.html#interrupt-avr
proc interrupt_handler(frame: InterruptFrame) {.exportc, codegenDecl: "__attribute__((interrupt)) $# $#$#".} =
2017-11-09 23:20:36 +00:00
discard