summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-04 16:47:38 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-04 16:47:38 +0200
commitb21f84ef1bb9e9ba69bfea069295ad4618f671eb (patch)
treeaf3e80941a206353b0eb7a1a21b95e02601f5c09 /ddb
parente5facfba3d2dba679d72c859066260eb0d33456c (diff)
SMP: Fix warnings
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_mp.c2
-rw-r--r--ddb/db_mp.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/ddb/db_mp.c b/ddb/db_mp.c
index 8d1a5605..7c0f6f26 100644
--- a/ddb/db_mp.c
+++ b/ddb/db_mp.c
@@ -35,10 +35,12 @@
#include <kern/lock.h>
#include <machine/db_machdep.h>
+#include <machine/db_interface.h>
#include <ddb/db_command.h>
#include <ddb/db_run.h>
#include <ddb/db_mp.h>
+#include <ddb/db_output.h>
/*
* Routines to interlock access to the kernel debugger on
diff --git a/ddb/db_mp.h b/ddb/db_mp.h
index 722f28c7..b0d221ea 100644
--- a/ddb/db_mp.h
+++ b/ddb/db_mp.h
@@ -27,4 +27,7 @@ void unlock_db(void);
void db_console(void);
#endif /* CONSOLE_ON_MASTER */
+boolean_t db_enter(void);
+void db_leave(void);
+
#endif /* _DDB_DB_MP_H_ */