mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Remove unused (for now) reg_REGWPTR (original patch by Glauber Costa)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4617 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bd0c5661bf
commit
75d0187a52
3 changed files with 0 additions and 19 deletions
|
@ -4,7 +4,6 @@
|
|||
#include "dyngen-exec.h"
|
||||
|
||||
register struct CPUSPARCState *env asm(AREG0);
|
||||
#define REGWPTR env->regwptr
|
||||
|
||||
#define FT0 (env->ft0)
|
||||
#define FT1 (env->ft1)
|
||||
|
@ -18,10 +17,6 @@ register struct CPUSPARCState *env asm(AREG0);
|
|||
|
||||
static inline void env_to_regs(void)
|
||||
{
|
||||
#if defined(reg_REGWPTR)
|
||||
REGWPTR = env->regbase + (env->cwp * 16);
|
||||
env->regwptr = REGWPTR;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void regs_to_env(void)
|
||||
|
|
|
@ -2629,7 +2629,6 @@ void cpu_set_cwp(CPUState *env1, int new_cwp)
|
|||
if (new_cwp == (NWINDOWS - 1))
|
||||
memcpy32(env1->regbase + NWINDOWS * 16, env1->regbase);
|
||||
env1->regwptr = env1->regbase + (new_cwp * 16);
|
||||
REGWPTR = env1->regwptr;
|
||||
}
|
||||
|
||||
void set_cwp(int new_cwp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue