Rev 2128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2128 | Rev 2465 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | /** @addtogroup arm32 |
29 | /** @addtogroup arm32 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
- | 33 | * @brief Function address conversion. |
|
33 | */ |
34 | */ |
34 | 35 | ||
35 | #ifndef KERN_arm32_FADDR_H_ |
36 | #ifndef KERN_arm32_FADDR_H_ |
36 | #define KERN_arm32_FADDR_H_ |
37 | #define KERN_arm32_FADDR_H_ |
37 | 38 | ||
38 | #include <arch/types.h> |
39 | #include <arch/types.h> |
39 | 40 | ||
- | 41 | /** Calculate absolute address of function referenced by fptr pointer. |
|
- | 42 | * |
|
- | 43 | * @param fptr Function pointer. |
|
- | 44 | */ |
|
40 | #define FADDR(fptr) ((uintptr_t) (fptr)) |
45 | #define FADDR(fptr) ((uintptr_t) (fptr)) |
41 | 46 | ||
42 | #endif |
47 | #endif |
43 | 48 | ||
44 | /** @} |
49 | /** @} |