Changeset 8389628 in rtems for tools


Ignore:
Timestamp:
Apr 22, 1996, 4:53:46 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d2d6467
Parents:
5a36154a
Message:

updates from Tony Bennett

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cpu/hppa1.1/genoffsets.c

    r5a36154a r8389628  
    11/*
    2  *      @(#)genoffsets.c        1.7 - 95/09/25
    3  *     
    4  *
    52 *  genoffsets.c
    63 *
    74 *  This file generates the offsets.h for the HP PA-RISC port of RTEMS.
    85 *
    9  *  NOTE:  It only prints the offset for structures actually used 
     6 *  NOTE:  It only prints the offset for structures actually used
    107 *         by the assembly code.
    118 *
     
    1815 *
    1916 *  $Id$
    20  *
    2117 */
    2218
     
    7167
    7268#define PRINT_SIZE( STRING, item ) \
    73   printf( "#define\t%s\t%d\t\t/* 0x%x */\n", \
     69  printf( "#ifdef ASM\n#define\t%s\t%d\t\t/* 0x%x */\n#endif\n", \
    7470          STRING, \
    7571          sizeof(item), \
     
    146142  PRINT_COMMENT("Context_Control_fp information");
    147143
     144  PRINT_IT( "FR0_OFFSET", Context_Control_fp *, fr0 );
     145  PRINT_IT( "FR1_OFFSET", Context_Control_fp *, fr1 );
     146  PRINT_IT( "FR2_OFFSET", Context_Control_fp *, fr2 );
     147  PRINT_IT( "FR3_OFFSET", Context_Control_fp *, fr3 );
     148  PRINT_IT( "FR4_OFFSET", Context_Control_fp *, fr4 );
     149  PRINT_IT( "FR5_OFFSET", Context_Control_fp *, fr5 );
     150  PRINT_IT( "FR6_OFFSET", Context_Control_fp *, fr6 );
     151  PRINT_IT( "FR7_OFFSET", Context_Control_fp *, fr7 );
     152  PRINT_IT( "FR8_OFFSET", Context_Control_fp *, fr8 );
     153  PRINT_IT( "FR9_OFFSET", Context_Control_fp *, fr9 );
     154  PRINT_IT( "FR10_OFFSET", Context_Control_fp *, fr10 );
     155  PRINT_IT( "FR11_OFFSET", Context_Control_fp *, fr11 );
     156  PRINT_IT( "FR12_OFFSET", Context_Control_fp *, fr12 );
     157  PRINT_IT( "FR13_OFFSET", Context_Control_fp *, fr13 );
     158  PRINT_IT( "FR14_OFFSET", Context_Control_fp *, fr14 );
     159  PRINT_IT( "FR15_OFFSET", Context_Control_fp *, fr15 );
     160  PRINT_IT( "FR16_OFFSET", Context_Control_fp *, fr16 );
     161  PRINT_IT( "FR17_OFFSET", Context_Control_fp *, fr17 );
     162  PRINT_IT( "FR18_OFFSET", Context_Control_fp *, fr18 );
     163  PRINT_IT( "FR19_OFFSET", Context_Control_fp *, fr19 );
     164  PRINT_IT( "FR20_OFFSET", Context_Control_fp *, fr20 );
     165  PRINT_IT( "FR21_OFFSET", Context_Control_fp *, fr21 );
     166  PRINT_IT( "FR22_OFFSET", Context_Control_fp *, fr22 );
     167  PRINT_IT( "FR23_OFFSET", Context_Control_fp *, fr23 );
     168  PRINT_IT( "FR24_OFFSET", Context_Control_fp *, fr24 );
     169  PRINT_IT( "FR25_OFFSET", Context_Control_fp *, fr25 );
     170  PRINT_IT( "FR26_OFFSET", Context_Control_fp *, fr26 );
     171  PRINT_IT( "FR27_OFFSET", Context_Control_fp *, fr27 );
     172  PRINT_IT( "FR28_OFFSET", Context_Control_fp *, fr28 );
     173  PRINT_IT( "FR29_OFFSET", Context_Control_fp *, fr29 );
     174  PRINT_IT( "FR30_OFFSET", Context_Control_fp *, fr30 );
     175  PRINT_IT( "FR31_OFFSET", Context_Control_fp *, fr31 );
     176
    148177  PRINT_SIZE("CPU_CONTEXT_FP_SIZE", Context_Control_fp);
    149178
Note: See TracChangeset for help on using the changeset viewer.