1 /* 2 * Copyright (C) 2016 Andes Technology, Inc. 3 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. 4 */ 5 6 /* Copyright (C) 1997, 1998, 2002, 2003, 2004 Free Software Foundation, Inc. 7 Contributed by Ralf Baechle <ralf@gnu.org>. 8 9 The GNU C Library is free software; you can redistribute it and/or 10 modify it under the terms of the GNU Lesser General Public 11 License as published by the Free Software Foundation; either 12 version 2.1 of the License, or (at your option) any later version. 13 14 The GNU C Library is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Lesser General Public License for more details. 18 19 You should have received a copy of the GNU Lesser General Public 20 License along with the GNU C Library; if not, write to the Free 21 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 22 02111-1307 USA. */ 23 24 #ifndef _SYS_REGDEF_H 25 #define _SYS_REGDEF_H 26 27 /* 28 * Symbolic register names for 32 bit ABI 29 */ 30 #define o0 r0 /* arguments r0 ~ r5 */ 31 #define o1 r1 32 #define o2 r2 33 #define o3 r3 34 #define o4 r4 35 #define o5 r5 36 #define o6 r6 37 #define o7 r7 38 39 #define h0 r0 /* arguments r0 ~ r5 */ 40 #define h1 r1 41 #define h2 r2 42 #define h3 r3 43 #define h4 r4 44 #define h5 r5 45 #define h6 r6 46 #define h7 r7 47 #define h8 r8 48 #define h9 r9 49 #define h10 r10 50 #define h11 r11 51 #define h12 r16 52 #define h13 r17 53 #define h14 r18 54 #define h15 r19 55 56 #define a0 r0 /* arguments r0 ~ r5 */ 57 #define a1 r1 58 #define a2 r2 59 #define a3 r3 60 #define a4 r4 61 #define a5 r5 62 #define s0 r6 63 #define s1 r7 64 #define s2 r8 65 #define s3 r9 66 #define s4 r10 67 #define s5 r11 68 #define s6 r12 69 #define s7 r13 70 #define s8 r14 71 #define ta r15 72 #define t0 r16 73 #define t1 r17 74 #define t2 r18 75 #define t3 r19 76 #define t4 r20 77 #define t5 r21 78 #define t6 r22 79 #define t7 r23 80 #define t8 r24 81 #define t9 r25 82 #define p0 r26 83 #define p1 r27 84 #define r28 fp 85 #define s9 r28 86 #define r29 gp 87 #define r30 ra 88 #define r31 sp 89 90 #endif /* _SYS_REGDEF_H */ 91