File: enter_kernelPPC.h

package info (click to toggle)
emile 0.10-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,716 kB
  • ctags: 2,737
  • sloc: ansic: 18,908; makefile: 726; asm: 622; sh: 2
file content (25 lines) | stat: -rw-r--r-- 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *
 * (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