update lab1-8 codes and docs. now version is 0.2
This commit is contained in:
19
code/lab7/kern/debug/kmonitor.h
Normal file
19
code/lab7/kern/debug/kmonitor.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef __KERN_DEBUG_MONITOR_H__
|
||||
#define __KERN_DEBUG_MONITOR_H__
|
||||
|
||||
#include <trap.h>
|
||||
|
||||
void kmonitor(struct trapframe *tf);
|
||||
|
||||
int mon_help(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_kerninfo(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_backtrace(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_continue(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_step(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_breakpoint(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_watchpoint(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_delete_dr(int argc, char **argv, struct trapframe *tf);
|
||||
int mon_list_dr(int argc, char **argv, struct trapframe *tf);
|
||||
|
||||
#endif /* !__KERN_DEBUG_MONITOR_H__ */
|
||||
|
||||
Reference in New Issue
Block a user