Changeset 5d2c26f in network-demos


Ignore:
Timestamp:
May 13, 2009, 6:54:45 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch
Children:
94e30bd
Parents:
0417fe3
Message:

2009-05-13 Joel Sherrill <joel.sherrill@…>

  • Makefile, init.c, system.h: Allow overrides from invoking environment. Also move RTEMS Configuration to bottom of init.c.
Location:
http
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • http/ChangeLog

    r0417fe3 r5d2c26f  
     12009-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile, init.c, system.h: Allow overrides from invoking
     4        environment. Also move RTEMS Configuration to bottom of init.c.
     5
    162009-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • http/Makefile

    r0417fe3 r5d2c26f  
    3333#
    3434
    35 DEFINES  +=
     35override DEFINES  +=
    3636CPPFLAGS +=
    3737CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0xC0000
  • http/init.c

    r0417fe3 r5d2c26f  
    66 */
    77
    8 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    9 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    10 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    11 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS        20
    12 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
    13 
    14 #define CONFIGURE_EXECUTIVE_RAM_SIZE    (512*1024)
    15 #define CONFIGURE_MAXIMUM_SEMAPHORES    20
    16 #define CONFIGURE_MAXIMUM_TASKS         20
    17 
    18 #define CONFIGURE_MICROSECONDS_PER_TICK 10000
    19 
    20 #define CONFIGURE_INIT_TASK_STACK_SIZE  (10*1024)
    21 #define CONFIGURE_INIT_TASK_PRIORITY    120
    22 #define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
    23                                            RTEMS_NO_TIMESLICE | \
    24                                            RTEMS_NO_ASR | \
    25                                            RTEMS_INTERRUPT_LEVEL(0))
    26 
    27 #define CONFIGURE_STACK_CHECKER_ENABLED
    28 #define CONFIGURE_INIT
    29 
    308#include "system.h"
    319#include <bsp.h>
     
    3412#include <time.h>
    3513
    36 #include <rtems/confdefs.h>
    3714#include <stdio.h>
    3815#include <rtems/rtems_bsdnet.h>
     
    173150
    174151
     152/*
     153 *  Configuration
     154 */
     155#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     156#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     157#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     158#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS        20
     159#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
    175160
     161#define CONFIGURE_EXECUTIVE_RAM_SIZE    (512*1024)
     162#define CONFIGURE_MAXIMUM_SEMAPHORES    20
     163#define CONFIGURE_MAXIMUM_TASKS         20
    176164
     165#define CONFIGURE_MICROSECONDS_PER_TICK 10000
     166
     167#define CONFIGURE_INIT_TASK_STACK_SIZE  (10*1024)
     168#define CONFIGURE_INIT_TASK_PRIORITY    120
     169#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
     170                                           RTEMS_NO_TIMESLICE | \
     171                                           RTEMS_NO_ASR | \
     172                                           RTEMS_INTERRUPT_LEVEL(0))
     173
     174#define CONFIGURE_STACK_CHECKER_ENABLED
     175#define CONFIGURE_INIT
     176
     177#include <rtems/confdefs.h>
     178
  • http/system.h

    r0417fe3 r5d2c26f  
    44 *  function in the test set.
    55 *
    6  *  COPYRIGHT (c) 1989-1998.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    8  *  Copyright assigned to U.S. Government, 1994.
    98 *
    109 *  The license and distribution terms for this file may be
     
    2120);
    2221
    23 /* configuration information */
    24 
    25 #include <rtems/confdefs.h>
    26 
    2722/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.