Home
last modified time | relevance | path

Searched refs:Int0ctl (Results 1 – 2 of 2) sorted by relevance

/plan9/sys/src/9/mtx/
H A Di8259.c13 Int0ctl= 0x20, /* control port (ICW1, OCW2, OCW3) */ enumerator
37 ioalloc(Int0ctl, 2, 0, "i8259.0"); in i8259init()
47 outb(Int0ctl, (1<<4)|(0<<3)|(1<<0)); /* ICW1 - master, edge triggered, in i8259init()
78 inb(Int0ctl); in i8259init()
79 outb(Int0ctl, Ocw3|0x03); in i8259init()
119 isr = inb(Int0ctl); in i8259isr()
120 outb(Int0ctl, EOI); in i8259isr()
173 outb(Int0ctl, Ocw3|0x07); /* intr ack on first 8259 */ in i8259intack()
174 irq = inb(Int0ctl) & 7; in i8259intack()
/plan9/sys/src/9/pc/
H A Di8259.c13 Int0ctl= 0x20, /* control port (ICW1, OCW2, OCW3) */ enumerator
37 ioalloc(Int0ctl, 2, 0, "i8259.0"); in i8259init()
47 outb(Int0ctl, (1<<4)|(0<<3)|(1<<0)); /* ICW1 - master, edge triggered, in i8259init()
78 inb(Int0ctl); in i8259init()
79 outb(Int0ctl, Ocw3|0x03); in i8259init()
119 isr = inb(Int0ctl); in i8259isr()
120 outb(Int0ctl, EOI); in i8259isr()