diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-29 17:19:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-29 17:19:16 +0000 |
commit | 11290355c9454c575d56c7928a725fd95e88d6f8 (patch) | |
tree | 1cd5ff063250cff764a59189f1e1956c40925a35 /c/src/lib/libbsp/unix/posix/startup | |
parent | new programs added (diff) | |
download | rtems-11290355c9454c575d56c7928a725fd95e88d6f8.tar.bz2 |
all targets compile .. tony's patches in place
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup')
-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 |
2 files changed, 5 insertions, 12 deletions
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 */ |