aboutsummaryrefslogtreecommitdiff
path: root/source/include/platform
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-09-30 20:13:30 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-09-30 20:13:30 +0000
commit1e24cf365bc9c8df179b145c90d52852724e54ee (patch)
tree3c0096caacc85baaf08f60f84ad7b7aa0812a740 /source/include/platform
parentc25a97c7b4f09b4c9efa992434d341f5b89629ff (diff)
Notes
Diffstat (limited to 'source/include/platform')
-rw-r--r--source/include/platform/acenv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/include/platform/acenv.h b/source/include/platform/acenv.h
index 6150f2b5f646..051c3bbc2973 100644
--- a/source/include/platform/acenv.h
+++ b/source/include/platform/acenv.h
@@ -297,6 +297,7 @@
#define ACPI_INTERNAL_VAR_XFACE
#endif
+
/*
* Debugger threading model
* Use single threaded if the entire subsystem is contained in an application
@@ -306,11 +307,11 @@
* multi-threaded if ACPI_APPLICATION is not set.
*/
#ifndef DEBUGGER_THREADING
-#ifdef ACPI_APPLICATION
-#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
+#if !defined (ACPI_APPLICATION) || defined (ACPI_EXEC_APP)
+#define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED
#else
-#define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED
+#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
#endif
#endif /* !DEBUGGER_THREADING */