/* $OpenBSD: cpu.h,v 1.8 2017/03/19 10:57:29 miod Exp $ */ /* public domain */ #ifndef _MACHINE_CPU_H_ #define _MACHINE_CPU_H_ #include #ifdef _KERNEL /* * 88110 systems only have cpudep6..7 available so far. * By the time Luna2001/2010 are supported, we can grow ci_cpudep to a * couple more fields to unbreak this. */ #ifndef M88110 #define ci_curspl ci_cpudep4 #define ci_swireg ci_cpudep5 #endif #define ci_intr_mask ci_cpudep6 #define ci_clock_ack ci_cpudep7 void luna88k_ext_int(struct trapframe *eframe); #define md_interrupt_func luna88k_ext_int #endif /* _KERNEL */ #endif /* _MACHINE_CPU_H_ */