target-ppc: fix power mode checking on 7400/7410
Only the PowerPC 7440/7450 family don't support DOZE mode. PowerPC 7400 and 7410 support it.
This commit is contained in:
parent
3fc00a7bde
commit
488243b0e9
@ -5237,7 +5237,7 @@ static void init_proc_755 (CPUPPCState *env)
|
||||
#define POWERPC_FLAG_7400 (POWERPC_FLAG_VRE | POWERPC_FLAG_SE | \
|
||||
POWERPC_FLAG_BE | POWERPC_FLAG_PMM | \
|
||||
POWERPC_FLAG_BUS_CLK)
|
||||
#define check_pow_7400 check_pow_hid0_74xx
|
||||
#define check_pow_7400 check_pow_hid0
|
||||
|
||||
static void init_proc_7400 (CPUPPCState *env)
|
||||
{
|
||||
@ -5289,7 +5289,7 @@ static void init_proc_7400 (CPUPPCState *env)
|
||||
#define POWERPC_FLAG_7410 (POWERPC_FLAG_VRE | POWERPC_FLAG_SE | \
|
||||
POWERPC_FLAG_BE | POWERPC_FLAG_PMM | \
|
||||
POWERPC_FLAG_BUS_CLK)
|
||||
#define check_pow_7410 check_pow_hid0_74xx
|
||||
#define check_pow_7410 check_pow_hid0
|
||||
|
||||
static void init_proc_7410 (CPUPPCState *env)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user