diff options
author | root <root@phys.ethz.ch> | 2009-12-19 20:23:04 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-12-22 01:58:33 +0100 |
commit | d0bec1fd0dd63ea62214902c096f5d51c4f8e8d6 (patch) | |
tree | 09606f233ae67b4fd8938be1375edabbc7b7cc62 /i386 | |
parent | f67ebd0771424181f8713f1931ee221d306eb683 (diff) |
Fix debugger trigger
* i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8
* xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of
panicing.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/locore.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S index 51a65c9..c640191 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -802,7 +802,11 @@ ast_from_interrupt: * Call kdb, passing it that register save area. */ +#ifdef MACH_XEN +#define RET_OFFSET 8 +#else /* MACH_XEN */ #define RET_OFFSET 16 +#endif /* MACH_XEN */ ENTRY(kdb_kintr) movl %ebp,%eax /* save caller`s frame pointer */ |