/trunk/kernel/arch/ppc32/include/exception.h |
---|
36,8 → 36,9 |
#define KERN_ppc32_EXCEPTION_H_ |
#include <arch/types.h> |
#include <typedefs.h> |
typedef struct { |
struct istate { |
uint32_t r0; |
uint32_t r2; |
uint32_t r3; |
76,7 → 77,7 |
uint32_t xer; |
uint32_t r12; |
uint32_t sp; |
} istate_t; |
}; |
static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr) |
{ |