mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2003-09-26 Joel Sherrill <joel@OARcorp.com>
* hppa1.1/.cvsignore, hppa1.1/ChangeLog, hppa1.1/Makefile.am, hppa1.1/configure.ac, hppa1.1/genoffsets.c: Removed.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-09-26 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* hppa1.1/.cvsignore, hppa1.1/ChangeLog, hppa1.1/Makefile.am,
|
||||||
|
hppa1.1/configure.ac, hppa1.1/genoffsets.c: Removed.
|
||||||
|
|
||||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
aclocal.m4
|
|
||||||
autom4te*.cache
|
|
||||||
config.cache
|
|
||||||
config.guess
|
|
||||||
config.log
|
|
||||||
config.status
|
|
||||||
config.sub
|
|
||||||
configure
|
|
||||||
depcomp
|
|
||||||
install-sh
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
missing
|
|
||||||
mkinstalldirs
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* genoffsets.c: URL for license changed.
|
|
||||||
|
|
||||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
|
||||||
|
|
||||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
|
||||||
|
|
||||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
||||||
|
|
||||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: AC_PREREQ(2.57).
|
|
||||||
|
|
||||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* .cvsignore: Reformat.
|
|
||||||
Add autom4te*cache.
|
|
||||||
Remove autom4te.cache.
|
|
||||||
|
|
||||||
2002-06-27 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* Makefile.am: genoffsets must be built before the executive.
|
|
||||||
|
|
||||||
2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove AC_EXEEXT (obsolete).
|
|
||||||
|
|
||||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac:
|
|
||||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
|
||||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
|
||||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
|
|
||||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
|
||||||
* configure.in: Remove.
|
|
||||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
||||||
|
|
||||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
||||||
|
|
||||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
||||||
|
|
||||||
2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Switch to GNU-canonicalized autoconf macros.
|
|
||||||
|
|
||||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* ChangeLog: New file.
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I ../../../aclocal
|
|
||||||
|
|
||||||
noinst_PROGRAMS = genoffsets
|
|
||||||
|
|
||||||
genoffsets_SOURCES = genoffsets.c
|
|
||||||
|
|
||||||
## We use files that have not been installed yet.
|
|
||||||
|
|
||||||
CPU_DIR = ../../cpu/$(RTEMS_CPU)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(PROJECT_INCLUDE) -I$(CPU_DIR)
|
|
||||||
|
|
||||||
PREINSTALL_FILES = genoffsets
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../automake/host.am
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
## Process this file with autoconf to produce a configure script.
|
|
||||||
##
|
|
||||||
## $Id$
|
|
||||||
|
|
||||||
AC_PREREQ(2.57)
|
|
||||||
AC_INIT([rtems-tools-cpu-hppa1.1],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
|
|
||||||
AC_CONFIG_SRCDIR([genoffsets.c])
|
|
||||||
RTEMS_TOP(../../..)
|
|
||||||
|
|
||||||
RTEMS_CANONICAL_TARGET_CPU
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
|
|
||||||
AM_MAINTAINER_MODE
|
|
||||||
|
|
||||||
AC_PROG_CC
|
|
||||||
|
|
||||||
RTEMS_TOOLPATHS
|
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
|
||||||
AC_CONFIG_FILES([Makefile])
|
|
||||||
AC_OUTPUT
|
|
||||||
@@ -1,347 +0,0 @@
|
|||||||
/*
|
|
||||||
* genoffsets.c
|
|
||||||
*
|
|
||||||
* This file generates the offsets.h for the HP PA-RISC port of RTEMS.
|
|
||||||
*
|
|
||||||
* NOTE: It only prints the offset for structures actually used
|
|
||||||
* by the assembly code.
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1989-1999.
|
|
||||||
* On-Line Applications Research Corporation (OAR).
|
|
||||||
*
|
|
||||||
* The license and distribution terms for this file may be
|
|
||||||
* found in the file LICENSE in this distribution or at
|
|
||||||
* http://www.rtems.com/license/LICENSE.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#if defined(__hpux__) && defined(__hppa__)
|
|
||||||
#include <rtems/system.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void print_information( void );
|
|
||||||
|
|
||||||
int main(
|
|
||||||
int argc,
|
|
||||||
char **argv
|
|
||||||
)
|
|
||||||
{
|
|
||||||
#if defined(__hpux__) && defined(__hppa__)
|
|
||||||
unsigned int size = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Print the file header
|
|
||||||
*/
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"/* offsets.h\n"
|
|
||||||
" *\n"
|
|
||||||
" * This include file contains the offsets of elements in the\n"
|
|
||||||
" * C data structures used by the assembly language code for the\n"
|
|
||||||
" * HP PA-RISC 1.1 port of RTEMS.\n"
|
|
||||||
" *\n"
|
|
||||||
" * NOTE: THIS FILE IS AUTOMATICALLY GENERATED!!!!\n"
|
|
||||||
" * DO NOT EDIT THIS BY HAND!!!!\n"
|
|
||||||
" *\n"
|
|
||||||
" * COPYRIGHT (c) 1989-1999.\n"
|
|
||||||
" * On-Line Applications Research Corporation (OAR).\n"
|
|
||||||
" *\n"
|
|
||||||
" * The license and distribution terms for this file may be\n"
|
|
||||||
" * found in the file LICENSE in this distribution or at\n"
|
|
||||||
" * http://www.rtems.com/license/LICENSE.\n"
|
|
||||||
" */\n"
|
|
||||||
"\n"
|
|
||||||
"#ifndef __OFFSETS_h\n"
|
|
||||||
"#define __OFFSETS_h\n"
|
|
||||||
"\n"
|
|
||||||
);
|
|
||||||
|
|
||||||
#define PRINT_IT( STRING, TYPE, FIELD ) \
|
|
||||||
printf( "#define\t%s\t0x%p\t\t/* %d */\n", \
|
|
||||||
STRING, \
|
|
||||||
&((TYPE)0)->FIELD, \
|
|
||||||
(int) &((TYPE)0)->FIELD );
|
|
||||||
|
|
||||||
#define PRINT_SIZE( STRING, item ) \
|
|
||||||
printf( "#ifdef ASM\n#define\t%s\t%d\t\t/* 0x%x */\n#endif\n", \
|
|
||||||
STRING, \
|
|
||||||
sizeof(item), \
|
|
||||||
sizeof(item) );
|
|
||||||
|
|
||||||
#define PRINT_COMMENT( STRING ) \
|
|
||||||
printf( \
|
|
||||||
"\n" \
|
|
||||||
"/*\n" \
|
|
||||||
" * " STRING "\n" \
|
|
||||||
" */\n" \
|
|
||||||
"\n" \
|
|
||||||
);
|
|
||||||
|
|
||||||
#if defined(__hpux__) && defined(__hppa__)
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Offsets of elements in the Context_control structure.
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Context_Control information");
|
|
||||||
|
|
||||||
PRINT_IT( "FLAGS_OFFSET", Context_Control *, flags );
|
|
||||||
PRINT_IT( "R1_OFFSET", Context_Control *, gr1 );
|
|
||||||
PRINT_IT( "R2_OFFSET", Context_Control *, gr2 );
|
|
||||||
PRINT_IT( "R3_OFFSET", Context_Control *, gr3 );
|
|
||||||
PRINT_IT( "R4_OFFSET", Context_Control *, gr4 );
|
|
||||||
PRINT_IT( "R5_OFFSET", Context_Control *, gr5 );
|
|
||||||
PRINT_IT( "R6_OFFSET", Context_Control *, gr6 );
|
|
||||||
PRINT_IT( "R7_OFFSET", Context_Control *, gr7 );
|
|
||||||
PRINT_IT( "R8_OFFSET", Context_Control *, gr8 );
|
|
||||||
PRINT_IT( "R9_OFFSET", Context_Control *, gr9 );
|
|
||||||
PRINT_IT( "R10_OFFSET", Context_Control *, gr10 );
|
|
||||||
PRINT_IT( "R11_OFFSET", Context_Control *, gr11 );
|
|
||||||
PRINT_IT( "R12_OFFSET", Context_Control *, gr12 );
|
|
||||||
PRINT_IT( "R13_OFFSET", Context_Control *, gr13 );
|
|
||||||
PRINT_IT( "R14_OFFSET", Context_Control *, gr14 );
|
|
||||||
PRINT_IT( "R15_OFFSET", Context_Control *, gr15 );
|
|
||||||
PRINT_IT( "R16_OFFSET", Context_Control *, gr16 );
|
|
||||||
PRINT_IT( "R17_OFFSET", Context_Control *, gr17 );
|
|
||||||
PRINT_IT( "R18_OFFSET", Context_Control *, gr18 );
|
|
||||||
PRINT_IT( "R19_OFFSET", Context_Control *, gr19 );
|
|
||||||
PRINT_IT( "R20_OFFSET", Context_Control *, gr20 );
|
|
||||||
PRINT_IT( "R21_OFFSET", Context_Control *, gr21 );
|
|
||||||
PRINT_IT( "R22_OFFSET", Context_Control *, gr22 );
|
|
||||||
PRINT_IT( "R23_OFFSET", Context_Control *, gr23 );
|
|
||||||
PRINT_IT( "R24_OFFSET", Context_Control *, gr24 );
|
|
||||||
PRINT_IT( "R25_OFFSET", Context_Control *, gr25 );
|
|
||||||
PRINT_IT( "R26_OFFSET", Context_Control *, gr26 );
|
|
||||||
PRINT_IT( "R27_OFFSET", Context_Control *, gr27 );
|
|
||||||
PRINT_IT( "R28_OFFSET", Context_Control *, gr28 );
|
|
||||||
PRINT_IT( "R29_OFFSET", Context_Control *, gr29 );
|
|
||||||
PRINT_IT( "R30_OFFSET", Context_Control *, sp );
|
|
||||||
PRINT_IT( "R31_OFFSET", Context_Control *, gr31 );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* And common aliases for the above
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Common aliases for above");
|
|
||||||
|
|
||||||
PRINT_IT( "RP_OFFSET", Context_Control *, gr2 );
|
|
||||||
PRINT_IT( "ARG3_OFFSET", Context_Control *, gr23 );
|
|
||||||
PRINT_IT( "ARG2_OFFSET", Context_Control *, gr24 );
|
|
||||||
PRINT_IT( "ARG1_OFFSET", Context_Control *, gr25 );
|
|
||||||
PRINT_IT( "ARG0_OFFSET", Context_Control *, gr26 );
|
|
||||||
PRINT_IT( "SP_OFFSET", Context_Control *, sp );
|
|
||||||
PRINT_IT( "DP_OFFSET", Context_Control *, gr27 );
|
|
||||||
PRINT_IT( "RET0_OFFSET", Context_Control *, gr28 );
|
|
||||||
PRINT_IT( "RET1_OFFSET", Context_Control *, gr29 );
|
|
||||||
|
|
||||||
PRINT_SIZE("CPU_CONTEXT_SIZE", Context_Control);
|
|
||||||
|
|
||||||
PRINT_COMMENT("Context_Control_fp information");
|
|
||||||
|
|
||||||
PRINT_IT( "FR0_OFFSET", Context_Control_fp *, fr0 );
|
|
||||||
PRINT_IT( "FR1_OFFSET", Context_Control_fp *, fr1 );
|
|
||||||
PRINT_IT( "FR2_OFFSET", Context_Control_fp *, fr2 );
|
|
||||||
PRINT_IT( "FR3_OFFSET", Context_Control_fp *, fr3 );
|
|
||||||
PRINT_IT( "FR4_OFFSET", Context_Control_fp *, fr4 );
|
|
||||||
PRINT_IT( "FR5_OFFSET", Context_Control_fp *, fr5 );
|
|
||||||
PRINT_IT( "FR6_OFFSET", Context_Control_fp *, fr6 );
|
|
||||||
PRINT_IT( "FR7_OFFSET", Context_Control_fp *, fr7 );
|
|
||||||
PRINT_IT( "FR8_OFFSET", Context_Control_fp *, fr8 );
|
|
||||||
PRINT_IT( "FR9_OFFSET", Context_Control_fp *, fr9 );
|
|
||||||
PRINT_IT( "FR10_OFFSET", Context_Control_fp *, fr10 );
|
|
||||||
PRINT_IT( "FR11_OFFSET", Context_Control_fp *, fr11 );
|
|
||||||
PRINT_IT( "FR12_OFFSET", Context_Control_fp *, fr12 );
|
|
||||||
PRINT_IT( "FR13_OFFSET", Context_Control_fp *, fr13 );
|
|
||||||
PRINT_IT( "FR14_OFFSET", Context_Control_fp *, fr14 );
|
|
||||||
PRINT_IT( "FR15_OFFSET", Context_Control_fp *, fr15 );
|
|
||||||
PRINT_IT( "FR16_OFFSET", Context_Control_fp *, fr16 );
|
|
||||||
PRINT_IT( "FR17_OFFSET", Context_Control_fp *, fr17 );
|
|
||||||
PRINT_IT( "FR18_OFFSET", Context_Control_fp *, fr18 );
|
|
||||||
PRINT_IT( "FR19_OFFSET", Context_Control_fp *, fr19 );
|
|
||||||
PRINT_IT( "FR20_OFFSET", Context_Control_fp *, fr20 );
|
|
||||||
PRINT_IT( "FR21_OFFSET", Context_Control_fp *, fr21 );
|
|
||||||
PRINT_IT( "FR22_OFFSET", Context_Control_fp *, fr22 );
|
|
||||||
PRINT_IT( "FR23_OFFSET", Context_Control_fp *, fr23 );
|
|
||||||
PRINT_IT( "FR24_OFFSET", Context_Control_fp *, fr24 );
|
|
||||||
PRINT_IT( "FR25_OFFSET", Context_Control_fp *, fr25 );
|
|
||||||
PRINT_IT( "FR26_OFFSET", Context_Control_fp *, fr26 );
|
|
||||||
PRINT_IT( "FR27_OFFSET", Context_Control_fp *, fr27 );
|
|
||||||
PRINT_IT( "FR28_OFFSET", Context_Control_fp *, fr28 );
|
|
||||||
PRINT_IT( "FR29_OFFSET", Context_Control_fp *, fr29 );
|
|
||||||
PRINT_IT( "FR30_OFFSET", Context_Control_fp *, fr30 );
|
|
||||||
PRINT_IT( "FR31_OFFSET", Context_Control_fp *, fr31 );
|
|
||||||
|
|
||||||
PRINT_SIZE("CPU_CONTEXT_FP_SIZE", Context_Control_fp);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* And the control registers
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Control register portion of context");
|
|
||||||
|
|
||||||
PRINT_IT( "SAR_OFFSET", Context_Control *, sar );
|
|
||||||
PRINT_IT( "IPSW_OFFSET", Context_Control *, ipsw );
|
|
||||||
PRINT_IT( "IIR_OFFSET", Context_Control *, iir );
|
|
||||||
PRINT_IT( "IOR_OFFSET", Context_Control *, ior );
|
|
||||||
PRINT_IT( "ISR_OFFSET", Context_Control *, isr );
|
|
||||||
PRINT_IT( "PCOQFRONT_OFFSET", Context_Control *, pcoqfront );
|
|
||||||
PRINT_IT( "PCOQBACK_OFFSET", Context_Control *, pcoqback );
|
|
||||||
PRINT_IT( "PCSQFRONT_OFFSET", Context_Control *, pcsqfront );
|
|
||||||
PRINT_IT( "PCSQBACK_OFFSET", Context_Control *, pcsqback );
|
|
||||||
PRINT_IT( "ITIMER_OFFSET", Context_Control *, itimer );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Full interrupt frame (integer + float)
|
|
||||||
*/
|
|
||||||
PRINT_COMMENT("Interrupt frame information");
|
|
||||||
|
|
||||||
PRINT_IT( "INTEGER_CONTEXT_OFFSET", CPU_Interrupt_frame *, Integer );
|
|
||||||
PRINT_IT( "FP_CONTEXT_OFFSET", CPU_Interrupt_frame *, Floating_Point );
|
|
||||||
size = sizeof( CPU_Interrupt_frame );
|
|
||||||
|
|
||||||
if ( size % CPU_STACK_ALIGNMENT )
|
|
||||||
size += CPU_STACK_ALIGNMENT - (size % CPU_STACK_ALIGNMENT);
|
|
||||||
|
|
||||||
printf( "#define\tCPU_INTERRUPT_FRAME_SIZE\t%d\t\t/* 0x%x */\n", size, size );
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
print_information();
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef PRINT_IT
|
|
||||||
#undef PRINT_SIZE
|
|
||||||
#undef PRINT_COMMENT
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Print the end of file stuff
|
|
||||||
*/
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n"
|
|
||||||
"#endif /* __OFFSETS_h */\n"
|
|
||||||
"\n"
|
|
||||||
"/* end of include file */\n"
|
|
||||||
);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void print_information( void )
|
|
||||||
{
|
|
||||||
|
|
||||||
#define PRINT_IT( STRING, NUMBER ) \
|
|
||||||
printf( "#define\t%s\t0x%x\t\t/* %d */\n", \
|
|
||||||
STRING, \
|
|
||||||
NUMBER, \
|
|
||||||
NUMBER );
|
|
||||||
|
|
||||||
#define PRINT_SIZE( STRING, NUMBER ) \
|
|
||||||
printf( "#define\t%s\t0x%x\t\t/* %d */\n", \
|
|
||||||
STRING, \
|
|
||||||
NUMBER, \
|
|
||||||
NUMBER );
|
|
||||||
|
|
||||||
#define PRINT_COMMENT( STRING ) \
|
|
||||||
printf( \
|
|
||||||
"\n" \
|
|
||||||
"/*\n" \
|
|
||||||
" * " STRING "\n" \
|
|
||||||
" */\n" \
|
|
||||||
"\n" \
|
|
||||||
);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Offsets of elements in the Context_control structure.
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Context_Control information");
|
|
||||||
|
|
||||||
PRINT_IT( "FLAGS_OFFSET", 0x00 );
|
|
||||||
PRINT_IT( "R1_OFFSET", 0x04 );
|
|
||||||
PRINT_IT( "R2_OFFSET", 0x08 );
|
|
||||||
PRINT_IT( "R3_OFFSET", 0x0c );
|
|
||||||
PRINT_IT( "R4_OFFSET", 0x00 );
|
|
||||||
PRINT_IT( "R5_OFFSET", 0x14 );
|
|
||||||
PRINT_IT( "R6_OFFSET", 0x18 );
|
|
||||||
PRINT_IT( "R7_OFFSET", 0x1c );
|
|
||||||
PRINT_IT( "R8_OFFSET", 0x20 );
|
|
||||||
PRINT_IT( "R9_OFFSET", 0x24 );
|
|
||||||
PRINT_IT( "R10_OFFSET", 0x28 );
|
|
||||||
PRINT_IT( "R11_OFFSET", 0x2c );
|
|
||||||
PRINT_IT( "R12_OFFSET", 0x30 );
|
|
||||||
PRINT_IT( "R13_OFFSET", 0x34 );
|
|
||||||
PRINT_IT( "R14_OFFSET", 0x38 );
|
|
||||||
PRINT_IT( "R15_OFFSET", 0x3c );
|
|
||||||
PRINT_IT( "R16_OFFSET", 0x40 );
|
|
||||||
PRINT_IT( "R17_OFFSET", 0x44 );
|
|
||||||
PRINT_IT( "R18_OFFSET", 0x48 );
|
|
||||||
PRINT_IT( "R19_OFFSET", 0x4c );
|
|
||||||
PRINT_IT( "R20_OFFSET", 0x50 );
|
|
||||||
PRINT_IT( "R21_OFFSET", 0x54 );
|
|
||||||
PRINT_IT( "R22_OFFSET", 0x58 );
|
|
||||||
PRINT_IT( "R23_OFFSET", 0x5c );
|
|
||||||
PRINT_IT( "R24_OFFSET", 0x60 );
|
|
||||||
PRINT_IT( "R25_OFFSET", 0x64 );
|
|
||||||
PRINT_IT( "R26_OFFSET", 0x68 );
|
|
||||||
PRINT_IT( "R27_OFFSET", 0x6c );
|
|
||||||
PRINT_IT( "R28_OFFSET", 0x70 );
|
|
||||||
PRINT_IT( "R29_OFFSET", 0x74 );
|
|
||||||
PRINT_IT( "R30_OFFSET", 0x78 );
|
|
||||||
PRINT_IT( "R31_OFFSET", 0x7c );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* And common aliases for the above
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Common aliases for above");
|
|
||||||
|
|
||||||
PRINT_IT( "RP_OFFSET", 0x08 );
|
|
||||||
PRINT_IT( "ARG3_OFFSET", 0x5c );
|
|
||||||
PRINT_IT( "ARG2_OFFSET", 0x60 );
|
|
||||||
PRINT_IT( "ARG1_OFFSET", 0x64 );
|
|
||||||
PRINT_IT( "ARG0_OFFSET", 0x68 );
|
|
||||||
PRINT_IT( "SP_OFFSET", 0x78 );
|
|
||||||
PRINT_IT( "DP_OFFSET", 0x6c );
|
|
||||||
PRINT_IT( "RET0_OFFSET", 0x74 );
|
|
||||||
PRINT_IT( "RET1_OFFSET", 0x74 );
|
|
||||||
|
|
||||||
PRINT_SIZE("CPU_CONTEXT_SIZE", 168 );
|
|
||||||
|
|
||||||
PRINT_COMMENT("Context_Control_fp information");
|
|
||||||
|
|
||||||
PRINT_SIZE("CPU_CONTEXT_FP_SIZE", 256);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* And the control registers
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Control register portion of context");
|
|
||||||
|
|
||||||
PRINT_IT( "SAR_OFFSET", 0x80 );
|
|
||||||
PRINT_IT( "IPSW_OFFSET", 0x84 );
|
|
||||||
PRINT_IT( "IIR_OFFSET", 0x88 );
|
|
||||||
PRINT_IT( "IOR_OFFSET", 0x8c );
|
|
||||||
PRINT_IT( "ISR_OFFSET", 0x90 );
|
|
||||||
PRINT_IT( "PCOQFRONT_OFFSET", 0x94 );
|
|
||||||
PRINT_IT( "PCOQBACK_OFFSET", 0x98 );
|
|
||||||
PRINT_IT( "PCSQFRONT_OFFSET", 0x9c );
|
|
||||||
PRINT_IT( "PCSQBACK_OFFSET", 0xa0 );
|
|
||||||
PRINT_IT( "ITIMER_OFFSET", 0xa4 );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Full interrupt frame (integer + float)
|
|
||||||
*/
|
|
||||||
|
|
||||||
PRINT_COMMENT("Interrupt frame information");
|
|
||||||
|
|
||||||
PRINT_IT( "INTEGER_CONTEXT_OFFSET", 0x00 );
|
|
||||||
PRINT_IT( "FP_CONTEXT_OFFSET", 0xa8 );
|
|
||||||
PRINT_SIZE( "CPU_INTERRUPT_FRAME_SIZE", 448 );
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user