Ignore:
Timestamp:
Dec 17, 2007, 10:35:25 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
ad9255be
Parents:
dbfc895e
Message:

2007-12-17 Joel Sherrill <joel.sherrill@…>

  • rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    rdbfc895e r0ca6d0d9  
    461461     */
    462462    uint32_t   some_system_register;
     463
     464    /** This field is a hint that a port will have a register that
     465     *  is the stack pointer.
     466     */
     467    uint32_t   stack_pointer;
    463468} Context_Control;
     469
     470#define _CPU_Context_Get_SP( _context ) \
     471  (_context)->stack_pointer
    464472
    465473/**
Note: See TracChangeset for help on using the changeset viewer.