source: rtems-libbsd/testsuite/include/rtems/bsd/test/default-init.h @ 795c5e6

4.115-freebsd-12freebsd-9.3
Last change on this file since 795c5e6 was 795c5e6, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 28, 2013 at 9:43:46 AM

testsuite: Increase object alloc size

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[2e2d441]1/*
[7d69fb3]2 *  Shared Network Test Initialization File
[2e2d441]3 */
4
[e599318]5#ifndef RTEMS_BSD_TEST_DEFAULT_INIT_H
6#define RTEMS_BSD_TEST_DEFAULT_INIT_H
7
[2e2d441]8#include <bsp.h>
9#include <stdlib.h>
10#include <stdio.h>
[e599318]11#include <rtems/bsd/bsd.h>
[71703fe]12
[2e2d441]13rtems_task Init(
14  rtems_task_argument ignored
15)
16{
[e599318]17  puts( "*** " TEST_NAME " TEST ***" );
[71703fe]18
[336762e]19  /*
20   *  BSD must support the new "shared IRQ PIC implementation" at this point.
21   *  BSPs must also provide rtems_interrupt_server_initialize() which
22   *  just requires including irq-server.[ch] in their build.
23   */
24
[2e2d441]25  rtems_bsd_initialize_with_interrupt_server();
[3be460f]26
[71703fe]27  test_main();
28  /* should not return */
29
30  printf( "*** Test main returned and should not have ***\n" );
31  exit( 5 );
[2e2d441]32}
33
34/* configuration information */
35
[3cde755]36#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
[2e2d441]37#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
38
[3cde755]39#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
40#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
41
42#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
43
[ab415f9]44#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
45
[795c5e6]46#define CONFIGURE_UNLIMITED_ALLOCATION_SIZE 32
[3cde755]47#define CONFIGURE_UNLIMITED_OBJECTS
48#define CONFIGURE_UNIFIED_WORK_AREAS
49
[025d8f2]50#define CONFIGURE_STACK_CHECKER_ENABLED
51
[2e2d441]52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
53
[c33de69]54#define CONFIGURE_INIT_TASK_STACK_SIZE (128 * 1024)
[a1e0a41]55#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
56
[2e2d441]57#define CONFIGURE_INIT
58#include <rtems/confdefs.h>
[4f6cf1e]59
[9c99de7]60/*
61 * FreeBSD TCP/IP Initialization
62 */
63
[e599318]64#include <machine/rtems-bsd-sysinit.h>
[4f6cf1e]65
[19ffee0]66/* only include FXP and PCI for i386/pc386 for debug on qemu (for now) */
67#if defined(i386)
68  #define CONFIGURE_NEED_PCIB
69  #define CONFIGURE_NEED_NET_IF_FXP
70#endif
[9c99de7]71
72/*
73 * This is correct for the PC
74 */
75char static_hints[] = {
76  "hint.fxp.0.prefer_iomap=1\0\n"
77};
78
[e599318]79#include <rtems/bsd/test/nic-sysinit.h>
[4f6cf1e]80
[2e2d441]81/* end of file */
[e599318]82#endif /* RTEMS_BSD_TEST_DEFAULT_INIT_H */
Note: See TracBrowser for help on using the repository browser.