list ioapic's start and end gsi, not nrdt and ibase. Reference: /n/atom/patch/applied2013/nixioapicfile Date: Mon Aug 26 22:43:41 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/src/nix/k10/ioapic.c Mon Aug 26 22:42:56 2013 +++ /sys/src/nix/k10/ioapic.c Mon Aug 26 22:42:56 2013 @@ -297,8 +297,8 @@ s = "ioapic"; p = seprint(p, e, "%-8s ", s); p = seprint(p, e, "%8ux ", i); - p = seprint(p, e, "%6d ", a->nrdt); p = seprint(p, e, "%6d ", a->ibase); + p = seprint(p, e, "%6d ", a->ibase+a->nrdt-1); p = seprint(p, e, "%#P ", a->paddr); p = seprint(p, e, "\n"); return p;