Rev 581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 581 | Rev 622 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __ia32_DEBUG_H__ |
29 | #ifndef __ia32_DEBUG_H__ |
30 | #define __ia32_DEBUG_H__ |
30 | #define __ia32_DEBUG_H__ |
31 | 31 | ||
32 | #include <arch/asm.h> |
32 | #include <arch/asm.h> |
33 | 33 | ||
34 | /** Return caller of this function |
- | |
35 | * |
- | |
36 | * @param first_arg First argument of the function |
- | |
37 | */ |
- | |
38 | #define CALLER(first_arg) ((__address *) &first_arg)[-1]; |
- | |
39 | - | ||
40 | #define HERE get_ip() |
34 | #define HERE get_ip() |
41 | 35 | ||
42 | #endif |
36 | #endif |