[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v24 16/18] target/i386: gdbstub: introduce aux functions to r
From: |
Richard Henderson |
Subject: |
Re: [PATCH v24 16/18] target/i386: gdbstub: introduce aux functions to read/write CS64 regs |
Date: |
Fri, 26 Feb 2021 07:59:30 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2/26/21 1:49 AM, Claudio Fontana wrote:
> a number of registers are read as 64bit under the condition that
> (hflags & HF_CS64_MASK) || TARGET_X86_64)
>
> and a number of registers are written as 64bit under the condition that
> (hflags & HF_CS64_MASK).
>
> Provide some auxiliary functions that do that.
>
> Signed-off-by: Claudio Fontana <cfontana@suse.de>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target/i386/gdbstub.c | 155 ++++++++++++++----------------------------
> 1 file changed, 51 insertions(+), 104 deletions(-)
Much better, thanks.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [PATCH v24 10/18] i386: move TCG btp_helper into sysemu/, (continued)
- [PATCH v24 12/18] i386: separate fpu_helper into user and sysemu parts, Claudio Fontana, 2021/02/26
- [PATCH v24 09/18] i386: split tcg excp_helper into sysemu and user parts, Claudio Fontana, 2021/02/26
- [PATCH v24 13/18] i386: split svm_helper into sysemu and stub-only user, Claudio Fontana, 2021/02/26
- [PATCH v24 14/18] i386: split seg_helper into user-only and sysemu parts, Claudio Fontana, 2021/02/26
- [PATCH v24 16/18] target/i386: gdbstub: introduce aux functions to read/write CS64 regs, Claudio Fontana, 2021/02/26
- [PATCH v24 17/18] target/i386: gdbstub: only write CR0/CR2/CR3/EFER for sysemu, Claudio Fontana, 2021/02/26
- [PATCH v24 11/18] i386: split misc helper user stubs and sysemu part, Claudio Fontana, 2021/02/26
- [PATCH v24 18/18] i386: make cpu_load_efer sysemu-only, Claudio Fontana, 2021/02/26
- [PATCH v24 15/18] i386: split off sysemu part of cpu.c, Claudio Fontana, 2021/02/26
- Re: [PATCH v24 00/18] i386 cleanup PART 2, no-reply, 2021/02/26