Thank you .I will modify the patch and give more infomation about the patch
在 2012年12月1日星期六,Andreas Färber 写道:
> Am 30.11.2012 16:03, schrieb Peter Maydell:
>> On 30 November 2012 07:17, Feng Gao wrote:
>>> Add OpenRisc fpu excepiton.
>>> When an exception raised, CPU can save right PC.
>>
>> Th
Am 30.11.2012 16:03, schrieb Peter Maydell:
> On 30 November 2012 07:17, Feng Gao wrote:
>> Add OpenRisc fpu excepiton.
>> When an exception raised, CPU can save right PC.
>
> This commit message is very short and quite hard
> to understand. It would be nice to see more detail
> here on what the
On 30 November 2012 07:17, Feng Gao wrote:
> Add OpenRisc fpu excepiton.
> When an exception raised, CPU can save right PC.
This commit message is very short and quite hard
to understand. It would be nice to see more detail
here on what the patch is trying to do.
thanks
-- PMM
> -void QEMU_NORETURN raise_exception(OpenRISCCPU *cpu, uint32_t excp)
> +void QEMU_NORETURN do_raise_exception_err(OpenRISCCPU *cpu,
> + uint32_t exception,
> + uintptr_t pc)
> {
> -cpu->env.exception_index = ex
Add OpenRisc fpu excepiton.
When an exception raised, CPU can save right PC.
Signed-off-by: Feng Gao
---
target-openrisc/exception.c| 31 +--
target-openrisc/exception.h|8 --
target-openrisc/exception_helper.c |2 +-
target-openrisc/fpu_helper.c