diff options
Diffstat (limited to 'c/src/lib/libbsp/unix/posix')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/include/bsp.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspstart.c | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/setvec.c | 12 |
3 files changed, 5 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/unix/posix/include/bsp.h b/c/src/lib/libbsp/unix/posix/include/bsp.h index 0b3556c80f..4b9cf3f837 100644 --- a/c/src/lib/libbsp/unix/posix/include/bsp.h +++ b/c/src/lib/libbsp/unix/posix/include/bsp.h @@ -24,7 +24,6 @@ extern "C" { #include <clockdrv.h> #include <console.h> #include <iosupp.h> -#include <libcsupport.h> /* * Define the time limits for RTEMS Test Suite test durations. diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c index f948d5a038..8ce3e92ecb 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c @@ -195,6 +195,11 @@ bsp_postdriver_hook(void) if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) rtems_fatal_error_occurred('STIO'); #endif + +#if defined(MALLOC_STATS) + atexit(malloc_dump); +#endif + } /* diff --git a/c/src/lib/libbsp/unix/posix/startup/setvec.c b/c/src/lib/libbsp/unix/posix/startup/setvec.c index 6be1e50555..9825faa19b 100644 --- a/c/src/lib/libbsp/unix/posix/startup/setvec.c +++ b/c/src/lib/libbsp/unix/posix/startup/setvec.c @@ -8,8 +8,6 @@ * type - 0 indicates raw hardware connect * 1 indicates RTEMS interrupt connect * - * NOTE 'type' is ignored on hppa; all interrupts are owned by RTEMS - * * RETURNS: * address of previous interrupt handler * @@ -26,16 +24,6 @@ #include <bsp.h> -/* - * Install an interrupt handler in the right place - * given its vector number from cpu/hppa.h - * There are 2 places an interrupt can be installed - * _ISR_Vector_table - * bsp interrupt XXX: nyi - * - * We decide which based on the vector number - */ - rtems_isr_entry set_vector( /* returns old vector */ rtems_isr_entry handler, /* isr routine */ |