/trunk/kernel/arch/ppc32/include/exception.h |
82,6 → 82,7 |
{ |
istate->pc = retaddr; |
} |
|
/** Return true if exception happened while in userspace */ |
#include <panic.h> |
static inline int istate_from_uspace(istate_t *istate) |
89,6 → 90,7 |
panic("istate_from_uspace not yet implemented"); |
return 0; |
} |
|
static inline unative_t istate_get_pc(istate_t *istate) |
{ |
return istate->pc; |
/trunk/kernel/arch/ppc32/include/boot/boot.h |
38,7 → 38,7 |
#define BOOT_OFFSET 0x8000 |
|
/* Temporary stack size for boot process */ |
#define TEMP_STACK_SIZE 0x100 |
#define TEMP_STACK_SIZE 0x1000 |
|
#define TASKMAP_MAX_RECORDS 32 |
#define MEMMAP_MAX_RECORDS 32 |
/trunk/kernel/arch/ppc32/include/drivers/cuda.h |
36,6 → 36,7 |
#define KERN_ppc32_CUDA_H_ |
|
#include <arch/types.h> |
#include <typedefs.h> |
|
extern void cuda_init(devno_t devno, uintptr_t base, size_t size); |
extern int cuda_get_scancode(void); |