Changeset 07a3253d in rtems for testsuites/sptests/spsize


Ignore:
Timestamp:
Nov 23, 1998, 7:07:58 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d1ee44e
Parents:
cd3fb80
Message:

Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface. This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

+ Joel Sherrill (joel@…)
+ Jennifer Averett (jennifer@…)
+ Steve "Mr Mount" Salitasc (salitasc@…)
+ Kerwin Wade (wade@…)

PROBLEMS
========

+ It is VERY likely that merging this will break the UNIX port. This

can/will be fixed.

+ There is likely some reentrancy/mutual exclusion needed.

+ Eventually, there should be a "mini-IMFS" description table to

eliminate links, symlinks, etc to save memory. All you need to
have "classic RTEMS" functionality is technically directories
and device IO. All the rest could be left out to save memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsize/size.c

    rcd3fb80 r07a3253d  
    3131#include <rtems/io.h>
    3232#include <rtems/rtems/message.h>
     33#if defined(RTEMS_MULTIPROCESSING)
    3334#include <rtems/rtems/mp.h>
    3435#include <rtems/score/mpci.h>
     36#endif
    3537#include <rtems/rtems/part.h>
    3638#include <rtems/score/priority.h>
     
    106108#endif
    107109
     110#if defined(RTEMS_MULTIPROCESSING)
     111#define MP_SYSTEM_TASKS \
     112   (MPCI_RECEIVE_SERVER_STACK_SIZE + \
     113    sizeof(Thread_Control) + \
     114    MPCI_RECEIVE_SERVER_FP)
     115#else
     116#define MP_SYSTEM_TASKS 0
     117#endif
     118
     119/*
     120 *  Idle and the MPCI Receive Server Threads
     121 */
     122
    108123#define SYSTEM_TASKS  \
    109     (STACK_MINIMUM_SIZE + \
    110      MPCI_RECEIVE_SERVER_STACK_SIZE + \
    111      (2*sizeof(Thread_Control))) + \
    112      MPCI_RECEIVE_SERVER_FP + \
    113      SYSTEM_IDLE_FP
     124    (STACK_MINIMUM_SIZE + sizeof(Thread_Control) + SYSTEM_IDLE_FP + \
     125     MP_SYSTEM_TASKS)
    114126
    115127#define rtems_unsigned32 unsigned32
Note: See TracChangeset for help on using the changeset viewer.