Rev 2940 | Rev 2942 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2940 | Rev 2941 | ||
|---|---|---|---|
| Line 35... | Line 35... | ||
| 35 | #ifndef ARCH_H_ |
35 | #ifndef ARCH_H_ |
| 36 | #define ARCH_H_ |
36 | #define ARCH_H_ |
| 37 | 37 | ||
| 38 | #include <sys/types.h> |
38 | #include <sys/types.h> |
| 39 | #include <udebug.h> |
39 | #include <udebug.h> |
| - | 40 | ||
| 40 | #include "arch/types.h" |
41 | #include "arch/types.h" |
| 41 | 42 | ||
| 42 | void arch_breakpoint_add(uintptr_t addr); |
43 | void arch_breakpoint_add(uintptr_t addr); |
| 43 | void arch_event_breakpoint(thash_t thread_hash); |
44 | void arch_event_breakpoint(thash_t thread_hash); |
| 44 | void arch_event_trap(thash_t thread_hash); |
45 | void arch_event_trap(thash_t thread_hash); |
| 45 | - | ||
| 46 | #define istate_get_pc(istate) ((istate)[OFFSET_PC]) |
46 | void arch_dump_regs(thash_t thash); |
| 47 | 47 | ||
| 48 | #endif |
48 | #endif |
| 49 | 49 | ||
| 50 | /** @} |
50 | /** @} |
| 51 | */ |
51 | */ |