Changeset af95f31 in network-demos


Ignore:
Timestamp:
May 12, 2009, 7:59:52 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch
Children:
0417fe3
Parents:
85ed672
Message:

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

  • Makefile, init.c: Now build with libbsdport.
Location:
telnetd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • telnetd/ChangeLog

    r85ed672 raf95f31  
     12009-05-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile, init.c: Now build with libbsdport.
     4
    152008-10-15      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • telnetd/Makefile

    r85ed672 raf95f31  
    3636CFLAGS_DEBUG_V   += -v -qrtems_debug
    3737
    38 LD_PATHS  +=
    39 LD_LIBS  += -ltelnetd
     38LD_PATHS +=
     39override LD_LIBS  += -ltelnetd
    4040
    4141CFLAGS   +=
  • telnetd/init.c

    r85ed672 raf95f31  
    88#define USE_RTEMS_SHELL
    99
    10 /*
    11  * Configuration parameters
    12  */
    13 
    14 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    15 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    16 #ifdef RTEMS_BSP_HAS_IDE_DRIVER
    17 #define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
    18 #endif
    19 #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
    20 
    21 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    22 
    23 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS        20
    24 #define CONFIGURE_MAXIMUM_PTYS                          8
    25 
    26 #if defined(USE_RTEMS_SHELL)
    27   #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
    28 #endif
    29 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
    30 
    31 #define CONFIGURE_STACK_CHECKER_ENABLED
    32 
    33 #define CONFIGURE_MEMORY_OVERHEAD         256
    34 #define CONFIGURE_MESSAGE_BUFFER_MEMORY   (32 * 1024)
    35 #define CONFIGURE_MAXIMUM_SEMAPHORES      40
    36 #define CONFIGURE_MAXIMUM_TASKS           20
    37 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES  20
    38 
    39 #define CONFIGURE_MICROSECONDS_PER_TICK 1000
    40 
    41 #define CONFIGURE_INIT_TASK_STACK_SIZE  (64*1024)
    42 #define CONFIGURE_INIT_TASK_PRIORITY    120
    43 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
    44 #define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
    45                                            RTEMS_NO_TIMESLICE | \
    46                                            RTEMS_NO_ASR | \
    47                                            RTEMS_INTERRUPT_LEVEL(0))
    48 
    49 #define CONFIGURE_MAXIMUM_DRIVERS 10
    50 #define CONFIGURE_INIT
    51 
    52 #include <stdlib.h>
    53 #include <rtems.h>
    54 #include <rtems/telnetd.h>
    55 
    56 /* functions */
    57 
    58 rtems_task Init(
    59   rtems_task_argument argument
    60 );
    61 
    62 /* configuration information */
    63 
    64 #include <rtems/confdefs.h>
    6510#include <bsp.h>
    6611
     
    6813#include <time.h>
    6914
    70 #include <rtems/confdefs.h>
    7115#include <stdio.h>
    7216#include <rtems/rtems_bsdnet.h>
     
    7418#include <rtems/shell.h>
    7519
    76      
    7720#include <rtems/error.h>
    7821#include <rpc/rpc.h>
     
    234177}
    235178
     179/*
     180 * Configuration parameters
     181 */
     182
     183#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     184#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     185#ifdef RTEMS_BSP_HAS_IDE_DRIVER
     186#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
     187#endif
     188#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
     189
     190#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     191
     192#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS        20
     193#define CONFIGURE_MAXIMUM_PTYS                          8
     194
     195#if defined(USE_RTEMS_SHELL)
     196  #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
     197#endif
     198#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     199
     200#define CONFIGURE_STACK_CHECKER_ENABLED
     201
     202#define CONFIGURE_MEMORY_OVERHEAD         256
     203#define CONFIGURE_MESSAGE_BUFFER_MEMORY   (32 * 1024)
     204#define CONFIGURE_MAXIMUM_SEMAPHORES      40
     205#define CONFIGURE_MAXIMUM_TASKS           20
     206#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES  20
     207
     208#define CONFIGURE_MICROSECONDS_PER_TICK 1000
     209
     210#define CONFIGURE_INIT_TASK_STACK_SIZE  (64*1024)
     211#define CONFIGURE_INIT_TASK_PRIORITY    120
     212#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
     213#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
     214                                           RTEMS_NO_TIMESLICE | \
     215                                           RTEMS_NO_ASR | \
     216                                           RTEMS_INTERRUPT_LEVEL(0))
     217
     218#define CONFIGURE_MAXIMUM_DRIVERS 10
     219#define CONFIGURE_INIT
     220
     221#include <stdlib.h>
     222#include <rtems.h>
     223#include <rtems/telnetd.h>
     224
     225/* functions */
     226
     227rtems_task Init(
     228  rtems_task_argument argument
     229);
     230
     231/* configuration information */
     232
     233#include <rtems/confdefs.h>
Note: See TracChangeset for help on using the changeset viewer.