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
Line 
1/*
2 *  Shared Network Test Initialization File
3 */
4
5#ifndef RTEMS_BSD_TEST_DEFAULT_INIT_H
6#define RTEMS_BSD_TEST_DEFAULT_INIT_H
7
8#include <bsp.h>
9#include <stdlib.h>
10#include <stdio.h>
11#include <rtems/bsd/bsd.h>
12
13rtems_task Init(
14  rtems_task_argument ignored
15)
16{
17  puts( "*** " TEST_NAME " TEST ***" );
18
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
25  rtems_bsd_initialize_with_interrupt_server();
26
27  test_main();
28  /* should not return */
29
30  printf( "*** Test main returned and should not have ***\n" );
31  exit( 5 );
32}
33
34/* configuration information */
35
36#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
37#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
38
39#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
40#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
41
42#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
43
44#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
45
46#define CONFIGURE_UNLIMITED_ALLOCATION_SIZE 32
47#define CONFIGURE_UNLIMITED_OBJECTS
48#define CONFIGURE_UNIFIED_WORK_AREAS
49
50#define CONFIGURE_STACK_CHECKER_ENABLED
51
52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
53
54#define CONFIGURE_INIT_TASK_STACK_SIZE (128 * 1024)
55#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
56
57#define CONFIGURE_INIT
58#include <rtems/confdefs.h>
59
60/*
61 * FreeBSD TCP/IP Initialization
62 */
63
64#include <machine/rtems-bsd-sysinit.h>
65
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
71
72/*
73 * This is correct for the PC
74 */
75char static_hints[] = {
76  "hint.fxp.0.prefer_iomap=1\0\n"
77};
78
79#include <rtems/bsd/test/nic-sysinit.h>
80
81/* end of file */
82#endif /* RTEMS_BSD_TEST_DEFAULT_INIT_H */
Note: See TracBrowser for help on using the repository browser.