qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/7] target-mips: Provide function to test if a


From: Leon Alrae
Subject: Re: [Qemu-devel] [PATCH 4/7] target-mips: Provide function to test if a CPU supports an ISA
Date: Wed, 7 Sep 2016 14:48:03 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Aug 19, 2016 at 08:09:00PM +0100, Paul Burton wrote:
> Provide a new cpu_supports_isa function which allows callers to
> determine whether a CPU supports one of the ISA_ flags, by testing
> whether the associated struct mips_def_t sets the ISA flags in its
> insn_flags field.
> 
> An example use of this is to allow boards which generate bootloader code
> to determine the properties of the CPU that will be used, for example
> whether the CPU is 64 bit or which architecture revision it implements.
> 
> Signed-off-by: Paul Burton <address@hidden>
> ---
>  target-mips/cpu.h       |  1 +
>  target-mips/translate.c | 10 ++++++++++
>  2 files changed, 11 insertions(+)

Reviewed-by: Leon Alrae <address@hidden>



reply via email to

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