Changeset 334573e in rtems for cpukit/score/cpu/sparc/cpu.c


Ignore:
Timestamp:
Nov 2, 2007, 1:35:12 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
7eb30458
Parents:
0e7cee45
Message:

2007-11-02 Joel Sherrill <joel.sherrill@…>

  • score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/context.h, score/src/threadhandler.c: Fix stack so gdb backtrace does not print corrupted frame message after _Thread_Handler. Daniel Hellstrom <daniel@…> provided the SPARC implementation and I made it more general.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/cpu.c

    r0e7cee45 r334573e  
    22 *  SPARC Dependent Source
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2007.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    302302    the_context->o7    = ((uint32_t  ) entry_point) - 8;
    303303    the_context->o6_sp = stack_high - CPU_MINIMUM_STACK_FRAME_SIZE;
    304     the_context->i6_fp = stack_high;
     304    the_context->i6_fp = 0;
    305305
    306306    /*
Note: See TracChangeset for help on using the changeset viewer.