This makes intreg.h locore-friendly - it only contains the MAXINTNUM define
after that.
ok claudio@ kettenis@
-/* $OpenBSD: intr.h,v 1.22 2018/08/20 15:02:07 visa Exp $ */
+/* $OpenBSD: intr.h,v 1.23 2024/03/29 21:16:01 miod Exp $ */
/* $NetBSD: intr.h,v 1.8 2001/01/14 23:50:30 thorpej Exp $ */
/*-
void softintr_disestablish(void *);
void softintr_schedule(void *);
+void send_softint(int cpu, int level, struct intrhand *ih);
+
#endif /* _MACHINE_INTR_H_ */
-/* $OpenBSD: intreg.h,v 1.3 2003/06/02 23:27:56 millert Exp $ */
+/* $OpenBSD: intreg.h,v 1.4 2024/03/29 21:16:01 miod Exp $ */
/* $NetBSD: intreg.h,v 1.4 2000/06/24 04:21:05 eeh Exp $ */
/*
*
*/
#define MAXINTNUM (1<<11)
-
-#ifndef _LOCORE
-struct intrhand; /* This is in cpu.h if you need it. */
-void send_softint(int cpu, int level, struct intrhand *ih);
-#endif