diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:35 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 05:55:12 +0900 |
commit | 423e1a794d353aa4f777b50f99b72a7a2b806355 (patch) | |
tree | 217fdfa609455be5b862e13870ad0d0d04de514f /i386 | |
parent | bbd18a819d05b296500c316722dc9b640558bd96 (diff) |
ddb/db_command.c: remove forward declaration
* ddb/db_command.c (db_reset_cpu): Remove forward declaration.
* i386/i386/db_interface.h (db_reset_cpu): Add prototype.
* i386/i386at/model_dep.c: Include i386/db_interface.h.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/db_interface.h | 3 | ||||
-rw-r--r-- | i386/i386at/model_dep.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/db_interface.h b/i386/i386/db_interface.h index b0b11cf..e4ae140 100644 --- a/i386/i386/db_interface.h +++ b/i386/i386/db_interface.h @@ -96,6 +96,9 @@ db_stack_trace_cmd( db_expr_t count, char *modif); +extern void +db_reset_cpu(void); + #endif extern void db_get_debug_state( diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 1a3aee8..5606639 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -78,6 +78,7 @@ Both of these are 0 if none is available. */ #if MACH_KDB #include <ddb/db_sym.h> +#include <i386/db_interface.h> static vm_offset_t kern_sym_start, kern_sym_end; #else /* MACH_KDB */ #define kern_sym_start 0 |