[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU
From: |
Scott Wood |
Subject: |
Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU |
Date: |
Fri, 6 May 2011 17:25:32 -0500 |
On Fri, 6 May 2011 14:00:35 +0200
Alexander Graf <address@hidden> wrote:
> +static inline void booke206_flush_tlb_one(ppc_tlb_t *tlb, int num)
> +{
> + int i;
> +
> + for (i = 0; i < num; i++) {
> + if ((tlb[i].tlbe.prot & PAGE_VALID) &&
> + !(tlb[i].tlbe.attr & MAS1_IPROT)) {
> + tlb[i].tlbe.prot = 0;
> + }
> + }
> +}
When this is called on reset, we want to ignore IPROT.
The valid check seems unnecessary.
> +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong address_lo)
What is address_hi?
From gen_tlbsx_booke206() it looks like these two arguments correspond to
the two operands, so shouldn't they be added together? I only see
address_lo used.
-Scott
- [Qemu-devel] [PATCH 0/7] PPC: Add FSL (e500) MMU emulation v4, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 3/7] PPC: Add GS MSR definition, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 1/7] PPC: Make MPC8544DS obey -cpu switch, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 6/7] PPC MPC7544DS: Use new TLB helper function, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 2/7] PPC: Make MPC8544DS emulation work w/o KVM, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 7/7] PPC: Qdev'ify e500 pci, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 4/7] PPC: Add another 64 bits to instruction feature mask, Alexander Graf, 2011/05/06
- [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU, Alexander Graf, 2011/05/06
- Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU,
Scott Wood <=