summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-02 18:51:50 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-03 02:01:18 +0200
commit12baa940dd214046902a0d7815f24cfad989fe79 (patch)
treef9f9f1c9800b3fed2cb0b5cd5394a9fe5698e07a /i386/i386at
parentdca400e253df97804dd04b24e96aebba878781a0 (diff)
ddb: add "halt" command
* ddb/db_command.c (db_command_table): Add "halt" command. * i386/i386/db_interface.h (db_halt_cpu): New declaration. * i386/i386at/model_dep.c (db_halt_cpu): New function.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/model_dep.c5
1 files changed, 5 insertions, 0 deletions
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);