[package] iptables: update imq userspace part
[openwrt.git] / package / kexec-tools / patches / 0004-mips_regdefs.patch
1 diff -urN kexec-tools-testing-20080324/kexec/arch/mips/regdef.h kexec-tools-testing-20080324.new/kexec/arch/mips/regdef.h
2 --- kexec-tools-testing-20080324/kexec/arch/mips/regdef.h 1970-01-01 01:00:00.000000000 +0100
3 +++ kexec-tools-testing-20080324.new/kexec/arch/mips/regdef.h 2008-07-18 13:37:18.000000000 +0200
4 @@ -0,0 +1,100 @@
5 +/*
6 + * This file is subject to the terms and conditions of the GNU General Public
7 + * License. See the file "COPYING" in the main directory of this archive
8 + * for more details.
9 + *
10 + * Copyright (C) 1985 MIPS Computer Systems, Inc.
11 + * Copyright (C) 1994, 95, 99, 2003 by Ralf Baechle
12 + * Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
13 + */
14 +#ifndef _ASM_REGDEF_H
15 +#define _ASM_REGDEF_H
16 +
17 +#include <asm/sgidefs.h>
18 +
19 +#if _MIPS_SIM == _MIPS_SIM_ABI32
20 +
21 +/*
22 + * Symbolic register names for 32 bit ABI
23 + */
24 +#define zero $0 /* wired zero */
25 +#define AT $1 /* assembler temp - uppercase because of ".set at" */
26 +#define v0 $2 /* return value */
27 +#define v1 $3
28 +#define a0 $4 /* argument registers */
29 +#define a1 $5
30 +#define a2 $6
31 +#define a3 $7
32 +#define t0 $8 /* caller saved */
33 +#define t1 $9
34 +#define t2 $10
35 +#define t3 $11
36 +#define t4 $12
37 +#define t5 $13
38 +#define t6 $14
39 +#define t7 $15
40 +#define s0 $16 /* callee saved */
41 +#define s1 $17
42 +#define s2 $18
43 +#define s3 $19
44 +#define s4 $20
45 +#define s5 $21
46 +#define s6 $22
47 +#define s7 $23
48 +#define t8 $24 /* caller saved */
49 +#define t9 $25
50 +#define jp $25 /* PIC jump register */
51 +#define k0 $26 /* kernel scratch */
52 +#define k1 $27
53 +#define gp $28 /* global pointer */
54 +#define sp $29 /* stack pointer */
55 +#define fp $30 /* frame pointer */
56 +#define s8 $30 /* same like fp! */
57 +#define ra $31 /* return address */
58 +
59 +#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
60 +
61 +#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
62 +
63 +#define zero $0 /* wired zero */
64 +#define AT $at /* assembler temp - uppercase because of ".set at" */
65 +#define v0 $2 /* return value - caller saved */
66 +#define v1 $3
67 +#define a0 $4 /* argument registers */
68 +#define a1 $5
69 +#define a2 $6
70 +#define a3 $7
71 +#define a4 $8 /* arg reg 64 bit; caller saved in 32 bit */
72 +#define ta0 $8
73 +#define a5 $9
74 +#define ta1 $9
75 +#define a6 $10
76 +#define ta2 $10
77 +#define a7 $11
78 +#define ta3 $11
79 +#define t0 $12 /* caller saved */
80 +#define t1 $13
81 +#define t2 $14
82 +#define t3 $15
83 +#define s0 $16 /* callee saved */
84 +#define s1 $17
85 +#define s2 $18
86 +#define s3 $19
87 +#define s4 $20
88 +#define s5 $21
89 +#define s6 $22
90 +#define s7 $23
91 +#define t8 $24 /* caller saved */
92 +#define t9 $25 /* callee address for PIC/temp */
93 +#define jp $25 /* PIC jump register */
94 +#define k0 $26 /* kernel temporary */
95 +#define k1 $27
96 +#define gp $28 /* global pointer - caller saved for PIC */
97 +#define sp $29 /* stack pointer */
98 +#define fp $30 /* frame pointer */
99 +#define s8 $30 /* callee saved */
100 +#define ra $31 /* return address */
101 +
102 +#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
103 +
104 +#endif /* _ASM_REGDEF_H */
This page took 0.047574 seconds and 5 git commands to generate.