Rev 2923 | Rev 2941 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2923 | Rev 2940 | ||
---|---|---|---|
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 | #include "arch/types.h" |
|
40 | 41 | ||
41 | void arch_breakpoint_add(uintptr_t addr); |
42 | void arch_breakpoint_add(uintptr_t addr); |
42 | void arch_event_breakpoint(thash_t thread_hash); |
43 | void arch_event_breakpoint(thash_t thread_hash); |
43 | void arch_event_trap(thash_t thread_hash); |
44 | void arch_event_trap(thash_t thread_hash); |
44 | 45 | ||
- | 46 | #define istate_get_pc(istate) ((istate)[OFFSET_PC]) |
|
- | 47 | ||
45 | #endif |
48 | #endif |
46 | 49 | ||
47 | /** @} |
50 | /** @} |
48 | */ |
51 | */ |