diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-02 18:51:50 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-03 02:01:18 +0200 |
commit | 12baa940dd214046902a0d7815f24cfad989fe79 (patch) | |
tree | f9f9f1c9800b3fed2cb0b5cd5394a9fe5698e07a /ddb | |
parent | dca400e253df97804dd04b24e96aebba878781a0 (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 'ddb')
-rw-r--r-- | ddb/db_command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c index ebb13df..8171119 100644 --- a/ddb/db_command.c +++ b/ddb/db_command.c @@ -363,6 +363,7 @@ struct db_command db_command_table[] = { { "show", 0, 0, db_show_cmds }, { "reset", db_reset_cpu, 0, 0 }, { "reboot", db_reset_cpu, 0, 0 }, + { "halt", db_halt_cpu, 0, 0 }, { (char *)0, } }; |