forked from Imagelibrary/rtems
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* m68040/fpsp/rtems_fpsp.c: Move extern outside of braces.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* m68040/fpsp/rtems_fpsp.c: Move extern outside of braces.
|
||||||
|
|
||||||
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* shared/misc/m68kidle.c: Correct prototype of Idle threads.
|
* shared/misc/m68kidle.c: Correct prototype of Idle threads.
|
||||||
|
|||||||
@@ -38,6 +38,19 @@ FPSP_install_raw_handler (uint32_t vector, proc_ptr new_handler, proc_ptr *old
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Exception handlers provided by FPSP package.
|
||||||
|
*/
|
||||||
|
extern void _fpspEntry_fline(void);
|
||||||
|
extern void _fpspEntry_bsun(void);
|
||||||
|
extern void _fpspEntry_inex(void);
|
||||||
|
extern void _fpspEntry_dz(void);
|
||||||
|
extern void _fpspEntry_unfl(void);
|
||||||
|
extern void _fpspEntry_ovfl(void);
|
||||||
|
extern void _fpspEntry_operr(void);
|
||||||
|
extern void _fpspEntry_snan(void);
|
||||||
|
extern void _fpspEntry_unsupp(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Attach floating point exception vectors to M68040FPSP entry points
|
* Attach floating point exception vectors to M68040FPSP entry points
|
||||||
*
|
*
|
||||||
@@ -47,18 +60,9 @@ FPSP_install_raw_handler (uint32_t vector, proc_ptr new_handler, proc_ptr *old
|
|||||||
void
|
void
|
||||||
M68KFPSPInstallExceptionHandlers (void)
|
M68KFPSPInstallExceptionHandlers (void)
|
||||||
{
|
{
|
||||||
extern void _fpspEntry_fline();
|
|
||||||
extern void _fpspEntry_bsun();
|
|
||||||
extern void _fpspEntry_inex();
|
|
||||||
extern void _fpspEntry_dz();
|
|
||||||
extern void _fpspEntry_unfl();
|
|
||||||
extern void _fpspEntry_ovfl();
|
|
||||||
extern void _fpspEntry_operr();
|
|
||||||
extern void _fpspEntry_snan();
|
|
||||||
extern void _fpspEntry_unsupp();
|
|
||||||
static struct {
|
static struct {
|
||||||
int vector_number;
|
int vector_number;
|
||||||
void (*handler)();
|
void (*handler)(void);
|
||||||
} fpspHandlers[] = {
|
} fpspHandlers[] = {
|
||||||
{ 11, _fpspEntry_fline },
|
{ 11, _fpspEntry_fline },
|
||||||
{ 48, _fpspEntry_bsun },
|
{ 48, _fpspEntry_bsun },
|
||||||
|
|||||||
Reference in New Issue
Block a user