Changeset 7f14725 in network-demos


Ignore:
Timestamp:
Jul 11, 2007, 6:28:51 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch, network-demos-4-8-branch, network-demos-4-9-branch
Children:
f655979
Parents:
07e6684
Message:

2007-07-11 Joel Sherrill <joel.sherrill@…>

  • Makefile: Include all managers.
  • init.c: Make the test just a bit more verbose in case the network initialization failure.
Location:
netdemo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • netdemo/ChangeLog

    r07e6684 r7f14725  
     12007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile: Include all managers.
     4        * init.c: Make the test just a bit more verbose in case the
     5        network initialization failure.
     6
    172007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • netdemo/Makefile

    r07e6684 r7f14725  
    66PGM=${ARCH}/$(SAMPLE).exe
    77
    8 MANAGERS=io event semaphore
     8MANAGERS=all
    99
    1010# C source names, if any, go here -- minus the .c
  • netdemo/init.c

    r07e6684 r7f14725  
    44 * This program may be distributed and used for any purpose.
    55 * I ask only that you:
    6  *      1. Leave this author information intact.
    7  *      2. Document any changes you make.
     6 *    1. Leave this author information intact.
     7 *    2. Document any changes you make.
    88 *
    99 * W. Eric Norum
     
    2424#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
    2525
    26 #define CONFIGURE_EXECUTIVE_RAM_SIZE    (512*1024)
    27 #define CONFIGURE_MAXIMUM_SEMAPHORES    20
    28 #define CONFIGURE_MAXIMUM_TASKS         20
     26#define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024)
     27#define CONFIGURE_MAXIMUM_SEMAPHORES 20
     28#define CONFIGURE_MAXIMUM_TASKS      20
    2929
    30 #define CONFIGURE_MICROSECONDS_PER_TICK 10000
     30#define CONFIGURE_MICROSECONDS_PER_TICK 10000
    3131
    32 #define CONFIGURE_INIT_TASK_STACK_SIZE  (10*1024)
    33 #define CONFIGURE_INIT_TASK_PRIORITY    120
     32#define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024)
     33#define CONFIGURE_INIT_TASK_PRIORITY   120
    3434#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
    3535                                           RTEMS_NO_TIMESLICE | \
     
    5353Init (rtems_task_argument ignored)
    5454{
    55         int doSocket(void);
     55  int doSocket(void);
    5656
    57         rtems_bsdnet_initialize_network ();
    58         rtems_bsdnet_show_inet_routes ();
    59         doSocket ();
    60         exit (0);
     57  printk( "Initialize network\n" );
     58  rtems_bsdnet_initialize_network ();
     59  printk( "Network initialized\n" );
     60  rtems_bsdnet_show_inet_routes ();
     61  printk( "Initiating test\n" );
     62  doSocket ();
     63  exit (0);
    6164}
Note: See TracChangeset for help on using the changeset viewer.