mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
ppc: remove video.x
Only Mac-on-Linux stuff used video.x, OpenBIOS does not need it. Remove video.x MoL hacks. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
f3f5b86725
commit
ae0bfb79aa
9 changed files with 9 additions and 166 deletions
|
@ -700,9 +700,6 @@ struct CPUPPCState {
|
|||
int power_mode;
|
||||
int (*check_pow)(CPUPPCState *env);
|
||||
|
||||
/* temporary hack to handle OSI calls (only used if non NULL) */
|
||||
int (*osi_call)(struct CPUPPCState *env);
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
void *load_info; /* Holds boot loading state. */
|
||||
#endif
|
||||
|
|
|
@ -2226,17 +2226,6 @@ static inline void powerpc_excp(CPUState *env, int excp_model, int excp)
|
|||
new_msr |= (target_ulong)MSR_HVB;
|
||||
goto store_current;
|
||||
case POWERPC_EXCP_SYSCALL: /* System call exception */
|
||||
/* NOTE: this is a temporary hack to support graphics OSI
|
||||
calls from the MOL driver */
|
||||
/* XXX: To be removed */
|
||||
if (env->gpr[3] == 0x113724fa && env->gpr[4] == 0x77810f9b &&
|
||||
env->osi_call) {
|
||||
if (env->osi_call(env) != 0) {
|
||||
env->exception_index = POWERPC_EXCP_NONE;
|
||||
env->error_code = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
dump_syscall(env);
|
||||
lev = env->error_code;
|
||||
if (lev == 1 || (lpes0 == 0 && lpes1 == 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue