summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/db_interface.h2
-rw-r--r--i386/i386at/model_dep.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h
index 97ff5c7..8d7daea 100644
--- a/i386/i386/db_interface.h
+++ b/i386/i386/db_interface.h
@@ -98,6 +98,8 @@ db_stack_trace_cmd(
const char *modif);
extern void
+db_halt_cpu(void);
+extern void
db_reset_cpu(void);
void
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 7d138be..95752fa 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -243,6 +243,11 @@ void exit(int rc)
halt_all_cpus(0);
}
+void db_halt_cpu(void)
+{
+ halt_all_cpus(0);
+}
+
void db_reset_cpu(void)
{
halt_all_cpus(1);