target/riscv: pmp: Fix some typos
PATCH 1/1 target/riscv: pmp: Fix some typos
%s/CSP/CSR
%s/thie/the
Signed-off-by Bin Meng <[email protected]>
---
target/riscv/pmp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
target/riscv/pmp.c +5 -5
@@ -456,7 +456,7 @@ bool pmp_hart_has_privs(CPURISCVState *env, target_ulong addr, }/* -* Handle a write to a pmpcfg CSP +* Handle a write to a pmpcfg CSR */ void pmpcfg_csr_write (CPURISCVState *env,uint32_t reg_index,target_ulong val)
@@ -483,7 +483,7 @@ void pmpcfg_csr_write(CPURISCVState *env, uint32_t reg_index,/* -* Handle a read from a pmpcfg CSP +* Handle a read from a pmpcfg CSR */ target_ulong pmpcfg_csr_read (CPURISCVState *env,uint32_t reg_index) {
@@ -502,7 +502,7 @@ target_ulong pmpcfg_csr_read(CPURISCVState *env, uint32_t reg_index)/* -* Handle a write to a pmpaddr CSP +* Handle a write to a pmpaddr CSR */ void pmpaddr_csr_write (CPURISCVState *env,uint32_t addr_index,target_ulong val)
@@ -540,7 +540,7 @@ void pmpaddr_csr_write(CPURISCVState *env, uint32_t addr_index,/* -* Handle a read from a pmpaddr CSP +* Handle a read from a pmpaddr CSR */ target_ulong pmpaddr_csr_read (CPURISCVState *env,uint32_t addr_index) {
@@ -593,7 +593,7 @@ target_ulong mseccfg_csr_read(CPURISCVState *env)/* * Calculate the TLB size if the start address or the end address of -* PMP entry is presented in thie TLB page. +* PMP entry is presented in the TLB page. */ static target_ulong pmp_get_tlb_size (CPURISCVState *env,int pmp_index,target_ulong tlb_sa,target_ulong tlb_ea)
Signature · 1 line
2.25.1
Quoted 8 lines · Bin Meng
%s/CSP/CSR
%s/thie/theSigned-off-by Bin Meng <[email protected]>---
target/riscv/pmp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 5 lines · Bin Meng
%s/CSP/CSR
%s/thie/theSigned-off-by Bin Meng <[email protected]>
Reviewed-by Alistair Francis <[email protected]>
Alistair
Quoted 58 lines
---
target/riscv/pmp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)target/riscv/pmp.c +5
-6@@ -456,7 +456,7 @@ bool pmp_hart_has_privs(CPURISCVState *env, target_ulong addr, }/* -* Handle a write to a pmpcfg CSP +* Handle a write to a pmpcfg CSR */ void pmpcfg_csr_write (CPURISCVState *env,uint32_t reg_index,target_ulong val)@@ -483,7 +483,7 @@ void pmpcfg_csr_write(CPURISCVState *env, uint32_t reg_index,/* -* Handle a read from a pmpcfg CSP +* Handle a read from a pmpcfg CSR */ target_ulong pmpcfg_csr_read (CPURISCVState *env,uint32_t reg_index) {@@ -502,7 +502,7 @@ target_ulong pmpcfg_csr_read(CPURISCVState *env, uint32_t reg_index)/* -* Handle a write to a pmpaddr CSP +* Handle a write to a pmpaddr CSR */ void pmpaddr_csr_write (CPURISCVState *env,uint32_t addr_index,target_ulong val)@@ -540,7 +540,7 @@ void pmpaddr_csr_write(CPURISCVState *env, uint32_t addr_index,/* -* Handle a read from a pmpaddr CSP +* Handle a read from a pmpaddr CSR */ target_ulong pmpaddr_csr_read (CPURISCVState *env,uint32_t addr_index) {@@ -593,7 +593,7 @@ target_ulong mseccfg_csr_read(CPURISCVState *env)/* * Calculate the TLB size if the start address or the end address of -* PMP entry is presented in thie TLB page. +* PMP entry is presented in the TLB page. */ static target_ulong pmp_get_tlb_size (CPURISCVState *env,int pmp_index,target_ulong tlb_sa,target_ulong tlb_ea) --2.25.1
Alistair Francis
AppliedQuoted 5 lines · Bin Meng
%s/CSP/CSR
%s/thie/theSigned-off-by Bin Meng <[email protected]>
Thanks!
Applied to riscv-to-apply.next
Alistair
Quoted 58 lines
---
target/riscv/pmp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)target/riscv/pmp.c +5
-6@@ -456,7 +456,7 @@ bool pmp_hart_has_privs(CPURISCVState *env, target_ulong addr, }/* -* Handle a write to a pmpcfg CSP +* Handle a write to a pmpcfg CSR */ void pmpcfg_csr_write (CPURISCVState *env,uint32_t reg_index,target_ulong val)@@ -483,7 +483,7 @@ void pmpcfg_csr_write(CPURISCVState *env, uint32_t reg_index,/* -* Handle a read from a pmpcfg CSP +* Handle a read from a pmpcfg CSR */ target_ulong pmpcfg_csr_read (CPURISCVState *env,uint32_t reg_index) {@@ -502,7 +502,7 @@ target_ulong pmpcfg_csr_read(CPURISCVState *env, uint32_t reg_index)/* -* Handle a write to a pmpaddr CSP +* Handle a write to a pmpaddr CSR */ void pmpaddr_csr_write (CPURISCVState *env,uint32_t addr_index,target_ulong val)@@ -540,7 +540,7 @@ void pmpaddr_csr_write(CPURISCVState *env, uint32_t addr_index,/* -* Handle a read from a pmpaddr CSP +* Handle a read from a pmpaddr CSR */ target_ulong pmpaddr_csr_read (CPURISCVState *env,uint32_t addr_index) {@@ -593,7 +593,7 @@ target_ulong mseccfg_csr_read(CPURISCVState *env)/* * Calculate the TLB size if the start address or the end address of -* PMP entry is presented in thie TLB page. +* PMP entry is presented in the TLB page. */ static target_ulong pmp_get_tlb_size (CPURISCVState *env,int pmp_index,target_ulong tlb_sa,target_ulong tlb_ea) --2.25.1