Fix Sparc host compile problem reported by Shaddy Baddah
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3750 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ad8efe4b6e
commit
2d8ee4e719
@ -1072,6 +1072,23 @@ void helper_mtpr (int iprn)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HOST_SPARC) || defined(HOST_SPARC64)
|
||||
void helper_reset_FT0 (void)
|
||||
{
|
||||
FT0 = 0;
|
||||
}
|
||||
|
||||
void helper_reset_FT1 (void)
|
||||
{
|
||||
FT1 = 0;
|
||||
}
|
||||
|
||||
void helper_reset_FT2 (void)
|
||||
{
|
||||
FT2 = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Softmmu support */
|
||||
#if !defined (CONFIG_USER_ONLY)
|
||||
|
@ -138,3 +138,9 @@ void helper_mtpr (int iprn);
|
||||
void helper_ld_phys_to_virt (void);
|
||||
void helper_st_phys_to_virt (void);
|
||||
void helper_tb_flush (void);
|
||||
|
||||
#if defined(HOST_SPARC) || defined(HOST_SPARC64)
|
||||
void helper_reset_FT0 (void);
|
||||
void helper_reset_FT1 (void);
|
||||
void helper_reset_FT2 (void);
|
||||
#endif
|
||||
|
@ -26,11 +26,19 @@ void OPPROTO glue(op_reset_T, REG) (void)
|
||||
RETURN();
|
||||
}
|
||||
|
||||
#if !defined(HOST_SPARC) && !defined(HOST_SPARC64)
|
||||
void OPPROTO glue(op_reset_FT, REG) (void)
|
||||
{
|
||||
glue(FT, REG) = 0;
|
||||
RETURN();
|
||||
}
|
||||
#else
|
||||
void OPPROTO glue(op_reset_FT, REG) (void)
|
||||
{
|
||||
glue(helper_reset_FT, REG)();
|
||||
RETURN();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* XXX: This can be great on most RISC machines */
|
||||
#if !defined(__i386__) && !defined(__x86_64__)
|
||||
|
Loading…
Reference in New Issue
Block a user