mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
26 lines
459 B
C
26 lines
459 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
*
|
|
* Some parts from bootX, (c) BenH
|
|
*
|
|
*/
|
|
|
|
#ifndef __ENTER_KERNELPPC_H__
|
|
#define __ENTER_KERNELPPC_H__
|
|
|
|
#include "misc.h"
|
|
|
|
typedef u_int32_t float_reg_t[2] __attribute__((packed));
|
|
|
|
typedef struct PPCRegisterList
|
|
{
|
|
u_int32_t PC;
|
|
u_int32_t GPR[32];
|
|
float_reg_t FPR[32];
|
|
} PPCRegisterList __attribute__((packed));
|
|
|
|
extern void enter_kernelPPC(unsigned long addr, PPCRegisterList* regs);
|
|
|
|
#endif
|