-/* $OpenBSD: cpu.h,v 1.142 2023/07/25 18:16:20 cheloha Exp $ */
+/* $OpenBSD: cpu.h,v 1.143 2023/08/05 05:46:36 guenther Exp $ */
/*-
* Copyright (c) 1992, 1993
#define CPU_INFO_UNIT(ci) ((ci)->ci_dev ? (ci)->ci_dev->dv_unit : 0)
+#define cpu_idle_enter() do { /* nothing */ } while (0)
+#define cpu_idle_leave() do { /* nothing */ } while (0)
extern void (*cpu_idle_cycle_func)(void);
#define cpu_idle_cycle() (*cpu_idle_cycle_func)()
-/* $OpenBSD: context.S,v 1.64 2022/12/08 01:25:45 guenther Exp $ */
+/* $OpenBSD: context.S,v 1.65 2023/08/05 05:46:36 guenther Exp $ */
/*
* Copyright (c) 2002-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
move v0, zero
END(savectx)
-LEAF(cpu_idle_enter, 0)
- j ra
- NOP
-END(cpu_idle_enter)
-
-LEAF(cpu_idle_leave, 0)
- j ra
- NOP
-END(cpu_idle_leave)
-
LEAF(cpu_idle_cycle_nop, 0)
j ra
NOP