[rtems-libbsd commit] loopback01/init.c: Remove junk file

Joel Sherrill joel at rtems.org
Sat Sep 1 18:33:45 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    9609268575c9b5830986620efe3ea6e4a16ec36a
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=9609268575c9b5830986620efe3ea6e4a16ec36a

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Sep  1 13:37:29 2012 -0500

loopback01/init.c: Remove junk file

---

 testsuite/loopback01/init.c |   82 -------------------------------------------
 1 files changed, 0 insertions(+), 82 deletions(-)

diff --git a/testsuite/loopback01/init.c b/testsuite/loopback01/init.c
deleted file mode 100644
index eba9e74..0000000
--- a/testsuite/loopback01/init.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- *  Shared Network Test Initialization File
- */
-
-#include <bsp.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <freebsd/bsd.h>
-
-/* XXX should these be in a header? */
-void print_test_name(void);
-void test_main(void);
-
-/* XXX temporary until in .h file */
-void rtems_initialize_interfaces(void);
-
-rtems_task Init(
-  rtems_task_argument ignored
-)
-{
-  print_test_name();
-
-  /*
-   *  BSD must support the new "shared IRQ PIC implementation" at this point.
-   *  BSPs must also provide rtems_interrupt_server_initialize() which
-   *  just requires including irq-server.[ch] in their build.
-   */
-
-  rtems_bsd_initialize_with_interrupt_server();
-
-  puts( "Initializing interfaces" );
-  rtems_initialize_interfaces();
-
-  test_main();
-  /* should not return */
-
-  printf( "*** Test main returned and should not have ***\n" );
-  exit( 5 );
-}
-
-/* configuration information */
-
-/* NOTICE: the clock driver is explicitly disabled */
-#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-
-#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
-#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
-
-#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
-
-#define CONFIGURE_UNLIMITED_OBJECTS
-#define CONFIGURE_UNIFIED_WORK_AREAS
-
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-
-#define CONFIGURE_INIT
-#include <rtems/confdefs.h>
-
-/*
- * FreeBSD TCP/IP Initialization
- */
-
-#include <freebsd/machine/rtems-bsd-sysinit.h>
-
-#define CONFIGURE_NEED_NET
-/* only include FXP and PCI for i386/pc386 for debug on qemu (for now) */
-#if defined(i386)
-  #define CONFIGURE_NEED_PCIB
-  #define CONFIGURE_NEED_NET_IF_FXP
-#endif
-
-/*
- * This is correct for the PC
- */
-char static_hints[] = {
-  "hint.fxp.0.prefer_iomap=1\0\n"
-};
-
-#include "nic-sysinit.h"
-
-/* end of file */




More information about the vc mailing list