Return to pic_openpic.c CVS log | Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / pic |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.14, 2018/05/16 21:54:38 | version 1.15, 2018/09/03 16:29:26 | ||
---|---|---|---|
|
|
||
static void | static void | ||
opic_establish_irq(struct pic_ops *pic, int irq, int type, int pri) | opic_establish_irq(struct pic_ops *pic, int irq, int type, int pri) | ||
{ | { | ||
int realpri = max(1, min(15, pri)); | int realpri = uimax(1, uimin(15, pri)); | ||
uint32_t x; | uint32_t x; | ||
x = irq; | x = irq; |