diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-29 12:42:07 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-29 12:42:07 +0000 |
commit | 0dc6bd7cd049bf8c808fc54eaa7edd11306f933c (patch) | |
tree | 013c94bbd593f234192adcc5c7163cecd0999b03 /sys/arch/armv7/omap | |
parent | c4a5ed017e7b5213c1900cf033f009869de5c95f (diff) |
remove unused intc_intr_bootstrap()
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r-- | sys/arch/armv7/omap/intc.c | 14 | ||||
-rw-r--r-- | sys/arch/armv7/omap/intc.h | 12 |
2 files changed, 2 insertions, 24 deletions
diff --git a/sys/arch/armv7/omap/intc.c b/sys/arch/armv7/omap/intc.c index 4c4fe605579..507a4a85f96 100644 --- a/sys/arch/armv7/omap/intc.c +++ b/sys/arch/armv7/omap/intc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intc.c,v 1.13 2024/04/29 12:33:17 jsg Exp $ */ +/* $OpenBSD: intc.c,v 1.14 2024/04/29 12:42:06 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -309,18 +309,6 @@ intc_setipl(int new) } void -intc_intr_bootstrap(vaddr_t addr) -{ - int i, j; - extern struct bus_space armv7_bs_tag; - intc_iot = &armv7_bs_tag; - intc_ioh = addr; - for (i = 0; i < INTC_NUM_BANKS; i++) - for (j = 0; j < NIPL; j++) - intc_imask[i][j] = 0xffffffff; -} - -void intc_irq_handler(void *frame) { int irq, pri, s; diff --git a/sys/arch/armv7/omap/intc.h b/sys/arch/armv7/omap/intc.h index c5d5880290e..ba6122eac8b 100644 --- a/sys/arch/armv7/omap/intc.h +++ b/sys/arch/armv7/omap/intc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intc.h,v 1.6 2024/04/29 12:33:17 jsg Exp $ */ +/* $OpenBSD: intc.h,v 1.7 2024/04/29 12:42:06 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -47,16 +47,6 @@ find_first_bit( uint32_t bits ) return 31-count; } - -/* - * This function *MUST* be called very early on in a port's - * initarm() function, before ANY spl*() functions are called. - * - * The parameter is the virtual address of the OMAPINTC's Interrupt - * Controller registers. - */ -void intc_intr_bootstrap(vaddr_t); - void intc_irq_handler(void *); void *intc_intr_establish(int irqno, int level, struct cpu_info *ci, int (*func)(void *), void *cookie, char *name); |