[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] target/ppc: Remove some unneded line breaks
From: |
BALATON Zoltan |
Subject: |
[PATCH 4/7] target/ppc: Remove some unneded line breaks |
Date: |
Tue, 30 May 2023 15:28:10 +0200 (CEST) |
Make lines shorter and fix indentation in some functions prototypes.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
target/ppc/cpu.h | 8 +++-----
target/ppc/mmu_common.c | 8 +++-----
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 77eb5edea2..4545f74fdd 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -1425,12 +1425,10 @@ void store_booke_tsr(CPUPPCState *env, target_ulong
val);
void ppc_tlb_invalidate_all(CPUPPCState *env);
void ppc_tlb_invalidate_one(CPUPPCState *env, target_ulong addr);
void cpu_ppc_set_vhyp(PowerPCCPU *cpu, PPCVirtualHypervisor *vhyp);
-int ppcmas_tlb_check(CPUPPCState *env, ppcmas_tlb_t *tlb,
- hwaddr *raddrp, target_ulong address,
- uint32_t pid);
+int ppcmas_tlb_check(CPUPPCState *env, ppcmas_tlb_t *tlb, hwaddr *raddrp,
+ target_ulong address, uint32_t pid);
int ppcemb_tlb_search(CPUPPCState *env, target_ulong address, uint32_t pid);
-hwaddr booke206_tlb_to_page_size(CPUPPCState *env,
- ppcmas_tlb_t *tlb);
+hwaddr booke206_tlb_to_page_size(CPUPPCState *env, ppcmas_tlb_t *tlb);
#endif
#endif
diff --git a/target/ppc/mmu_common.c b/target/ppc/mmu_common.c
index 845eee4c6f..a84bc7de88 100644
--- a/target/ppc/mmu_common.c
+++ b/target/ppc/mmu_common.c
@@ -694,8 +694,7 @@ static int mmubooke_get_physical_address(CPUPPCState *env,
mmu_ctx_t *ctx,
return ret;
}
-hwaddr booke206_tlb_to_page_size(CPUPPCState *env,
- ppcmas_tlb_t *tlb)
+hwaddr booke206_tlb_to_page_size(CPUPPCState *env, ppcmas_tlb_t *tlb)
{
int tlbm_size;
@@ -705,9 +704,8 @@ hwaddr booke206_tlb_to_page_size(CPUPPCState *env,
}
/* TLB check function for MAS based SoftTLBs */
-int ppcmas_tlb_check(CPUPPCState *env, ppcmas_tlb_t *tlb,
- hwaddr *raddrp, target_ulong address,
- uint32_t pid)
+int ppcmas_tlb_check(CPUPPCState *env, ppcmas_tlb_t *tlb, hwaddr *raddrp,
+ target_ulong address, uint32_t pid)
{
hwaddr mask;
uint32_t tlb_pid;
--
2.30.9
- [PATCH 0/7] Embedded PPC misc clean up and optimisation, BALATON Zoltan, 2023/05/30
- [PATCH 1/7] target/ppc: Remove single use function, BALATON Zoltan, 2023/05/30
- [PATCH 6/7] target/ppc: Change ppcemb_tlb_check() to return bool, BALATON Zoltan, 2023/05/30
- [PATCH 7/7] target/ppc: Eliminate goto in mmubooke_check_tlb(), BALATON Zoltan, 2023/05/30
- [PATCH 2/7] target/ppc: Remove "ext" parameter of ppcemb_tlb_check(), BALATON Zoltan, 2023/05/30
- [PATCH 5/7] target/ppc: Simplify ppcemb_tlb_search(), BALATON Zoltan, 2023/05/30
- [PATCH 4/7] target/ppc: Remove some unneded line breaks,
BALATON Zoltan <=
- [PATCH 3/7] target/ppc: Move ppcemb_tlb_search() to mmu_common.c, BALATON Zoltan, 2023/05/30