Created
February 3, 2021 16:50
-
-
Save ryo/9e8c89e21fb16bba1e11eb0aa9059cb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cvs -q diff -u -a -p idle_machdep.S | |
Index: idle_machdep.S | |
=================================================================== | |
RCS file: /src/cvs/cvsroot-netbsd/src/sys/arch/aarch64/aarch64/idle_machdep.S,v | |
retrieving revision 1.6 | |
diff -u -a -p -r1.6 idle_machdep.S | |
--- idle_machdep.S 12 Aug 2020 13:19:35 -0000 1.6 | |
+++ idle_machdep.S 3 Feb 2021 16:28:38 -0000 | |
@@ -37,6 +37,9 @@ | |
RCSID("$NetBSD: idle_machdep.S,v 1.6 2020/08/12 13:19:35 skrll Exp $"); | |
+#define BUSY_CPUIDLE | |
+//#define LAZY_CPUIDLE | |
+ | |
#ifdef ARM_INTR_IMPL | |
#include ARM_INTR_IMPL | |
#else | |
@@ -49,8 +52,10 @@ RCSID("$NetBSD: idle_machdep.S,v 1.6 202 | |
ENTRY(cpu_idle) | |
-#ifdef LAZY_CPUIDLE | |
+#ifdef BUSY_CPUIDLE | |
+ /* nop */ | |
+#elif defined(LAZY_CPUIDLE) | |
/* | |
* hardware interrupt -> trap handler -> interrupt handler | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment