《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
729 B

12 years ago
12 years ago
  1. #ifndef __KERN_DEBUG_MONITOR_H__
  2. #define __KERN_DEBUG_MONITOR_H__
  3. #include <trap.h>
  4. void kmonitor(struct trapframe *tf);
  5. int mon_help(int argc, char **argv, struct trapframe *tf);
  6. int mon_kerninfo(int argc, char **argv, struct trapframe *tf);
  7. int mon_backtrace(int argc, char **argv, struct trapframe *tf);
  8. int mon_continue(int argc, char **argv, struct trapframe *tf);
  9. int mon_step(int argc, char **argv, struct trapframe *tf);
  10. int mon_breakpoint(int argc, char **argv, struct trapframe *tf);
  11. int mon_watchpoint(int argc, char **argv, struct trapframe *tf);
  12. int mon_delete_dr(int argc, char **argv, struct trapframe *tf);
  13. int mon_list_dr(int argc, char **argv, struct trapframe *tf);
  14. #endif /* !__KERN_DEBUG_MONITOR_H__ */