[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] hw/ppc/e500: Move comment to more appropriate place
From: |
Bernhard Beschow |
Subject: |
[PATCH 6/6] hw/ppc/e500: Move comment to more appropriate place |
Date: |
Fri, 16 Dec 2022 15:57:09 +0100 |
The TLB entries are set up in mmubooke_create_initial_mapping(), not in
booke206_page_size_to_tlb().
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/ppc/e500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index 104a85ad22..c6aeccce7a 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -692,7 +692,6 @@ static int ppce500_prep_device_tree(PPCE500MachineState
*machine,
kernel_base, kernel_size, true);
}
-/* Create -kernel TLB entries for BookE. */
hwaddr booke206_page_size_to_tlb(uint64_t size)
{
return 63 - clz64(size / KiB);
@@ -723,6 +722,7 @@ static uint64_t mmubooke_initial_mapsize(CPUPPCState *env)
return (1ULL << 10 << tsize);
}
+/* Create -kernel TLB entries for BookE. */
static void mmubooke_create_initial_mapping(CPUPPCState *env)
{
ppcmas_tlb_t *tlb = booke206_get_tlbm(env, 1, 0, 0);
--
2.39.0
- [PATCH 0/6] Trivial PPC cleanups, Bernhard Beschow, 2022/12/16
- [PATCH 1/6] target/ppc/mmu_common: Log which effective address had no TLB entry found, Bernhard Beschow, 2022/12/16
- [PATCH 5/6] hw/ppc/e500: Resolve variable shadowing, Bernhard Beschow, 2022/12/16
- [PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable, Bernhard Beschow, 2022/12/16
- [PATCH 6/6] hw/ppc/e500: Move comment to more appropriate place,
Bernhard Beschow <=
- [PATCH 2/6] target/ppc/mmu_common: Fix table layout of "info tlb" HMP command, Bernhard Beschow, 2022/12/16
- [PATCH 4/6] hw/ppc/e500: Prefer local variable over qdev_get_machine(), Bernhard Beschow, 2022/12/16
- Re: [PATCH 0/6] Trivial PPC cleanups, Cédric Le Goater, 2022/12/16
- Re: [PATCH 0/6] Trivial PPC cleanups, Daniel Henrique Barboza, 2022/12/16