mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
removed unneeded code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1631 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a316d3353c
commit
313adae905
@ -806,7 +806,7 @@ void do_compute_hflags (CPUPPCState *env)
|
||||
}
|
||||
|
||||
void do_store_msr (CPUPPCState *env, target_ulong value)
|
||||
{
|
||||
{
|
||||
value &= env->msr_mask;
|
||||
if (((value >> MSR_IR) & 1) != msr_ir ||
|
||||
((value >> MSR_DR) & 1) != msr_dr) {
|
||||
@ -1436,15 +1436,5 @@ void do_interrupt (CPUState *env)
|
||||
/* Jump to handler */
|
||||
env->nip = excp;
|
||||
env->exception_index = EXCP_NONE;
|
||||
#if 0
|
||||
/* ensure that no TB jump will be modified as
|
||||
the program flow was changed */
|
||||
#ifdef __sparc__
|
||||
tmp_T0 = 0;
|
||||
#else
|
||||
T0 = 0;
|
||||
#endif
|
||||
#endif
|
||||
env->interrupt_request |= CPU_INTERRUPT_EXITTB;
|
||||
}
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
|
Loading…
Reference in New Issue
Block a user