-/* $OpenBSD: cpu.h,v 1.106 2024/10/23 07:52:55 mpi Exp $ */
+/* $OpenBSD: cpu.h,v 1.107 2024/10/23 18:45:34 miod Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
#define CLKF_PC(framep) ((framep)->tf_iioq_head)
#define CLKF_INTR(framep) ((framep)->tf_flags & TFF_INTR)
#define CLKF_USERMODE(framep) ((framep)->tf_flags & T_USER)
-#define CLKF_SYSCALL(framep) ((framep)->tf_flags & TFF_SYS)
#define need_proftick(p) setsoftast(p)
#define PROC_PC(p) ((p)->p_md.md_regs->tf_iioq_head & ~HPPA_PC_PRIV_MASK)
-/* $OpenBSD: trap.h,v 1.12 2005/05/26 04:34:52 kettenis Exp $ */
+/* $OpenBSD: trap.h,v 1.13 2024/10/23 18:45:34 miod Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
* Various trap frame flags.
*/
#define TFF_LAST_POS 0
-#define TFF_ITLB_POS 1
-#define TFF_SYS_POS 2
-#define TFF_INTR_POS 3
+#define TFF_SYS_POS 1
+#define TFF_INTR_POS 2
#define TFF_LAST (1 << (31 - TFF_LAST_POS))
-#define TFF_ITLB (1 << (31 - TFF_ITLB_POS))
#define TFF_SYS (1 << (31 - TFF_SYS_POS))
#define TFF_INTR (1 << (31 - TFF_INTR_POS))