Changeset bba988d in rtems


Ignore:
Timestamp:
Sep 7, 2016, 11:46:40 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8bb9d41
Parents:
531924d
git-author:
Sebastian Huber <sebastian.huber@…> (09/07/16 11:46:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/08/16 05:43:02)
Message:

stackchk: Remove superfluous internal header file

Location:
cpukit/libmisc
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/Makefile.am

    r531924d rbba988d  
    149149## stackchk
    150150noinst_LIBRARIES += libstackchk.a
    151 libstackchk_a_SOURCES = stackchk/check.c stackchk/internal.h \
     151libstackchk_a_SOURCES = stackchk/check.c \
    152152    stackchk/stackchk.h
    153153
  • cpukit/libmisc/stackchk/check.c

    r531924d rbba988d  
    4444#include <rtems/stackchk.h>
    4545#include <rtems/score/percpu.h>
    46 #include "internal.h"
     46
     47/*
     48 *  This structure is used to fill in and compare the "end of stack"
     49 *  marker pattern.
     50 *  pattern area must be a multiple of 4 words.
     51 */
     52
     53#ifdef CPU_STACK_CHECK_SIZE
     54#define PATTERN_SIZE_WORDS      (((CPU_STACK_CHECK_SIZE / 4) + 3) & ~0x3)
     55#else
     56#define PATTERN_SIZE_WORDS      (4)
     57#endif
     58
     59#define PATTERN_SIZE_BYTES      (PATTERN_SIZE_WORDS * sizeof(uint32_t))
     60
     61/*
     62 *  The pattern used to fill the entire stack.
     63 */
     64
     65#define BYTE_PATTERN 0xA5
     66#define U32_PATTERN 0xA5A5A5A5
     67
     68typedef struct {
     69   uint32_t    pattern[ PATTERN_SIZE_WORDS ];
     70} Stack_check_Control;
    4771
    4872/*
Note: See TracChangeset for help on using the changeset viewer.