mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-i386: fix over 80 chars warnings
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
0bc60a8ae0
commit
90a2541b76
3 changed files with 39 additions and 22 deletions
|
@ -1811,9 +1811,9 @@ void helper_lcall_protected(CPUX86State *env, int new_cs, target_ulong new_eip,
|
|||
if (!(e2 & DESC_C_MASK) && dpl < cpl) {
|
||||
/* to inner privilege */
|
||||
get_ss_esp_from_tss(env, &ss, &sp, dpl);
|
||||
LOG_PCALL("new ss:esp=%04x:%08x param_count=%d env->regs[R_ESP]=" TARGET_FMT_lx
|
||||
"\n",
|
||||
ss, sp, param_count, env->regs[R_ESP]);
|
||||
LOG_PCALL("new ss:esp=%04x:%08x param_count=%d env->regs[R_ESP]="
|
||||
TARGET_FMT_lx "\n", ss, sp, param_count,
|
||||
env->regs[R_ESP]);
|
||||
if ((ss & 0xfffc) == 0) {
|
||||
raise_exception_err(env, EXCP0A_TSS, ss & 0xfffc);
|
||||
}
|
||||
|
@ -1847,16 +1847,18 @@ void helper_lcall_protected(CPUX86State *env, int new_cs, target_ulong new_eip,
|
|||
PUSHL(ssp, sp, sp_mask, env->segs[R_SS].selector);
|
||||
PUSHL(ssp, sp, sp_mask, env->regs[R_ESP]);
|
||||
for (i = param_count - 1; i >= 0; i--) {
|
||||
val = cpu_ldl_kernel(env, old_ssp + ((env->regs[R_ESP] + i * 4) &
|
||||
old_sp_mask));
|
||||
val = cpu_ldl_kernel(env, old_ssp +
|
||||
((env->regs[R_ESP] + i * 4) &
|
||||
old_sp_mask));
|
||||
PUSHL(ssp, sp, sp_mask, val);
|
||||
}
|
||||
} else {
|
||||
PUSHW(ssp, sp, sp_mask, env->segs[R_SS].selector);
|
||||
PUSHW(ssp, sp, sp_mask, env->regs[R_ESP]);
|
||||
for (i = param_count - 1; i >= 0; i--) {
|
||||
val = cpu_lduw_kernel(env, old_ssp + ((env->regs[R_ESP] + i * 2) &
|
||||
old_sp_mask));
|
||||
val = cpu_lduw_kernel(env, old_ssp +
|
||||
((env->regs[R_ESP] + i * 2) &
|
||||
old_sp_mask));
|
||||
PUSHW(ssp, sp, sp_mask, val);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue