qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] target-i386/seg_helper: refactor 4 helper f


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/2] target-i386/seg_helper: refactor 4 helper functions
Date: Tue, 30 Apr 2013 08:16:59 +0100

On 22 April 2013 04:44, liguang <address@hidden> wrote:
> for helper_{lsl, lar, verr, verw}, there are
> common parts, so move them outside, and then
> call this new helper-helper function.
>
> Signed-off-by: liguang <address@hidden>
> ---
>  target-i386/seg_helper.c |  179 ++++++++++++++-------------------------------
>  1 files changed, 56 insertions(+), 123 deletions(-)
>
> diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c
> index 906e4f3..419efd8 100644
> --- a/target-i386/seg_helper.c
> +++ b/target-i386/seg_helper.c
> @@ -2292,9 +2292,10 @@ void helper_sysexit(CPUX86State *env, int dflag)
>      EIP = EDX;
>  }
>
> -target_ulong helper_lsl(CPUX86State *env, target_ulong selector1)
> +
> +static target_ulong misc_check_helper(CPUX86State *env, target_ulong 
> selector1,
> +                                      int inst)

This function really needs a better (more specific) name...

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]