提交 488243b0 编写于 作者: A Aurelien Jarno

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.
上级 3fc00a7b
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册