From 419902595faa63ab52ac4ebef6fcac55615adfc5 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 22 Feb 2001 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2001-02-22 --- pc/i8259.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pc/i8259.c b/pc/i8259.c index ca87f1d9fe976a56a5ab5673fa712ac7620b6411..b161c3a0b3e6de3297da6dc23ef07238823bdefd 100644 --- a/pc/i8259.c +++ b/pc/i8259.c @@ -164,3 +164,13 @@ i8259enable(Vctl* v) return VectorPIC+irq; } + +void +i8259dump(void) +{ + uchar aux0, aux1; + + aux0 = inb(Int0aux); + aux1 = inb(Int1aux); + print("i8269: %ux %2.2ux %2.2ux\n", i8259mask, aux0, aux1); +}