diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-11 21:45:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-11 21:45:05 +0000 |
commit | c03e2bc8c7b6c2133db6a661d785409d4756149a (patch) | |
tree | da32e8511a07cfb9cada9bdace09fd96f7204830 /cpukit/score/cpu/i386 | |
parent | 2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c03e2bc8c7b6c2133db6a661d785409d4756149a.tar.bz2 |
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
comments.
Diffstat (limited to 'cpukit/score/cpu/i386')
-rw-r--r-- | cpukit/score/cpu/i386/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/cpu.c | 9 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 4 |
3 files changed, 9 insertions, 10 deletions
diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index 3e10484588..33cbd986dd 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,9 @@ +2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and + passing address of _Thread_Dispatch to _CPU_Initialize. Clean up + comments. + 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/score/types.h: Do not define boolean, single_precision, diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index bc714ac5de..07d9e6ab24 100644 --- a/cpukit/score/cpu/i386/cpu.c +++ b/cpukit/score/cpu/i386/cpu.c @@ -25,14 +25,10 @@ * * This routine performs processor dependent initialization. * - * INPUT PARAMETERS: - * thread_dispatch - address of dispatching routine + * INPUT PARAMETERS: NONE */ - -void _CPU_Initialize( - void (*thread_dispatch) /* ignored on this CPU */ -) +void _CPU_Initialize(void) { #if CPU_HARDWARE_FP register uint16_t fp_status asm ("ax"); @@ -65,7 +61,6 @@ void _CPU_Initialize( ); } #endif - } /*PAGE diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index b715316d45..ee9c50a27d 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -386,9 +386,7 @@ uint32_t _CPU_ISR_Get_level( void ); * This routine performs CPU dependent initialization. */ -void _CPU_Initialize( - void (*thread_dispatch) -); +void _CPU_Initialize(void); /* * _CPU_ISR_install_raw_handler |