qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Cleaning up handling of CPU exceptions accessing non-ex


From: Peter Maydell
Subject: Re: [Qemu-devel] Cleaning up handling of CPU exceptions accessing non-existent memory/devices
Date: Fri, 4 Aug 2017 13:59:57 +0100

On 1 August 2017 at 11:50, Peter Maydell <address@hidden> wrote:
> My proposal is that we should define a new QOM CPU hook:
>   void (*do_transaction_failed)(CPUState *cpu, hwaddr physaddr, vaddr addr,
>                                 unsigned size, MMUAccessType access_type,
>                                 MemTxAttrs attrs, MemTxResult response);

I realised that we probably also want the 'uintptr_t retaddr'
and 'int mmu_idx' that tlb_fill() and the do_unaligned_access
hook both already have.

I have some patches mostly-ready which implement the
common code changes plus the ARM mode implementation of the
hook function.

thanks
-- PMM



reply via email to

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