Ignore:
Timestamp:
Aug 10, 1999, 4:41:44 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cef2fb5f
Parents:
908436c1
Message:

Patch from Eric Valette <valette@…> and Emmanuel Raguet
<raguet@…>:

  • the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
  • bug in the mcp750 init code have been fixed (interrupt stack/initial stack initialization), BSS correctly cleared (Eric V)
  • remote debugging over TCP/IP is nearly complete (berakpoints, backtrace, variables,...) (Eric V),
  • exception handling code has also been improved in order to fully support RDBG requirements (Eric V),
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/motorola_powerpc/start/start.S

    r908436c1 r981b99f  
    11/*
    2  *  arch/ppc/kernel/head.S
     2 *  start.S :     RTEMS entry point
     3 *
     4 *  Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
     5 *
     6 *  The license and distribution terms for this file may be
     7 *  found in found in the file LICENSE in this distribution or at
     8 *  http://www.OARcorp.com/rtems/license.html.
    39 *
    410 *  $Id$
    511 *
    6  *  PowerPC version
    7  *    Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
    8  *
    9  *  Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP
    10  *  Adapted for Power Macintosh by Paul Mackerras.
    11  *  Low-level exception handlers and MMU support
    12  *  rewritten by Paul Mackerras.
    13  *    Copyright (C) 1996 Paul Mackerras.
    14  *  MPC8xx modifications Copyright (C) 1997 Dan Malek (dmalek@jlc.net).
    15  *  Amiga/APUS changes by Jesper Skov (jskov@cygnus.co.uk).
    16  *
    17  *  This file contains the low-level support and setup for the
    18  *  PowerPC platform, including trap and interrupt dispatch.
    19  *  Also included here is low-level thread/task switch support.
    20  *
    21  *  This program is free software; you can redistribute it and/or
    22  *  modify it under the terms of the GNU General Public License
    23  *  as published by the Free Software Foundation; either version
    24  *  2 of the License, or (at your option) any later version.
    25  *     
    2612 */
    2713
     
    2915#include <libcpu/io.h>
    3016#include <rtems/score/targopts.h>
     17#include <rtems/score/cpu.h>
    3118#include "asm.h"
    32        
     19
    3320#define SYNC \
    3421        sync; \
     
    9279         * stack = &__rtems_end + 4096
    9380         */
    94         addis   r9,r0, __rtems_end+4096@ha
    95         addi    r9,r9, __rtems_end+4096@l
     81        addis   r9,r0, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@ha
     82        addi    r9,r9, __rtems_end+(4096-CPU_MINIMUM_STACK_FRAME_SIZE)@l
    9683        mr      r1, r9
    9784        bl      zero_bss
     
    143130        mtctr   r30
    144131        bctr   
    145        
    146        
    147 
    148 
    149 
Note: See TracChangeset for help on using the changeset viewer.