diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-27 17:07:19 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-27 17:07:19 -0500 |
commit | 336762e7b21bab81c7ecac3dfa73030e7d0de346 (patch) | |
tree | 37836c79d95d3d2b50cc26ca71bd7cb58013d19a /testsuite/link01/test.c | |
parent | Added empty/defaulted prison methods to for linking RealTek Nic. (diff) | |
download | rtems-libbsd-336762e7b21bab81c7ecac3dfa73030e7d0de346.tar.bz2 |
Remove dummy symbols in link01 test
+ add symbol where needed
+ use as much as possible from rtems-bsd-symbols.c
Diffstat (limited to 'testsuite/link01/test.c')
-rw-r--r-- | testsuite/link01/test.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/testsuite/link01/test.c b/testsuite/link01/test.c index 2d483645..42c814a1 100644 --- a/testsuite/link01/test.c +++ b/testsuite/link01/test.c @@ -9,13 +9,6 @@ #include <stdio.h> #include <freebsd/bsd.h> -int maxproc = 6; /* XXX Used value of rtems KERN_MAXPROC */ -int ngroups_max = NGROUPS_MAX; /* XXX */ - -/* 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. @@ -28,6 +21,12 @@ rtems_task Init( ) { printf( "\n\n*** LIBFREEBSD INITIALIZATION TEST ***\n" ); + /* + * 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(); printf("Nic Driver Addresses\n"); |