From 9b200e71eaeaf1eab824152780088375c2170ddb Mon Sep 17 00:00:00 2001 From: dragonmux Date: Fri, 10 Nov 2023 22:27:34 +0000 Subject: [PATCH] riscv32: Fixed a typo in one of the comments in `riscv32_abstract_mem_read()` --- src/target/riscv32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv32.c b/src/target/riscv32.c index 4b3e30ae9fb..b9d01797f7c 100644 --- a/src/target/riscv32.c +++ b/src/target/riscv32.c @@ -217,7 +217,7 @@ uint32_t riscv32_pack_data(const void *const src, const uint8_t access_width) static void riscv32_abstract_mem_read( riscv_hart_s *const hart, void *const dest, const target_addr_t src, const size_t len) { - /* Figure out the maxmial width of access to perform, up to the bitness of the target */ + /* Figure out the maximal width of access to perform, up to the bitness of the target */ const uint8_t access_width = riscv_mem_access_width(hart, src, len); const uint8_t access_length = 1U << access_width; /* Build the access command */