diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-03-23 13:20:57 -0500 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-03-23 13:20:57 -0500 |
commit | 3be460f8cda4de8edd8948bb14a58fea529baa8b (patch) | |
tree | 58683543ca90e02b84e4e0e5ffcfea6a198ac54c /testsuite/link01/test.c | |
parent | Added maxfiles, maxfilesperproc, cold, and dpcpu_off variables. (diff) | |
download | rtems-libbsd-3be460f8cda4de8edd8948bb14a58fea529baa8b.tar.bz2 |
Added comments on how to force the inclusion of the RealTek and Etherexpress Nics.
Diffstat (limited to 'testsuite/link01/test.c')
-rw-r--r-- | testsuite/link01/test.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/link01/test.c b/testsuite/link01/test.c index da25c10a..a0d7518c 100644 --- a/testsuite/link01/test.c +++ b/testsuite/link01/test.c @@ -22,12 +22,25 @@ void prison_free() {} /* needed by rtems-bsd-init-with-irq.c */ void rtems_interrupt_server_initialize(void) { } + +/* + * Methods used to make sure the nic drivers + * are pulled into the executable. + */ +// extern int _bsd_re_pcimodule_sys_init(); +// extern int _bsd_fxp_pcimodule_sys_init(); + rtems_task Init( rtems_task_argument ignored ) { printf( "\n\n*** LIBFREEBSD INITIALIZATION TEST ***\n" ); rtems_bsd_initialize_with_interrupt_server(); + + printf("Nic Driver Addresses\n"); + // printf("RealTek %p\n", &_bsd_re_pcimodule_sys_init ); + // printf("EtherExpress k %p\n", &_bsd_fxp_pcimodule_sys_init ); + printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" ); exit( 0 ); } |