diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-11 14:30:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-11 14:30:27 +0000 |
commit | c1403ef1539f60b323f57a0e344734111b4c18cf (patch) | |
tree | 359febe4b621feb410b36e0567606827a0d2a503 /c/src/lib/libbsp/unix/posix/startup/setvec.c | |
parent | Initialization of semaphores was incorrect. It did not force (diff) | |
download | rtems-c1403ef1539f60b323f57a0e344734111b4c18cf.tar.bz2 |
Added flush of output on exit. On some UNIX's using the native library
resulted in no output when the output was redirected until this was done.
Redirection is important because runtest redirects test output.
Added support for numerous environment variables which make it easier
to run a multi-node system using a single executable and to tailor
the size of the workspace and heap.
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup/setvec.c')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/setvec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/setvec.c b/c/src/lib/libbsp/unix/posix/startup/setvec.c index fef64752d5..8d3aedceb9 100644 --- a/c/src/lib/libbsp/unix/posix/startup/setvec.c +++ b/c/src/lib/libbsp/unix/posix/startup/setvec.c @@ -37,7 +37,7 @@ * We decide which based on the vector number */ -unix_isr_entry +rtems_isr_entry set_vector( /* returns old vector */ rtems_isr_entry handler, /* isr routine */ rtems_vector_number vector, /* vector number */ @@ -49,10 +49,10 @@ set_vector( /* returns old vector */ if ( type ) { rtems_interrupt_catch( handler, vector, &rtems_isr_ptr ); - return (unix_isr_entry) rtems_isr_ptr; + return rtems_isr_ptr; } else { _CPU_ISR_install_vector( vector, (proc_ptr) handler, &raw_isr_ptr ); - return (unix_isr_entry) raw_isr_ptr; + return raw_isr_ptr; } } |