aboutsummaryrefslogtreecommitdiff
path: root/src/components/cpu/riscv/simple_riscv32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/cpu/riscv/simple_riscv32.c')
-rw-r--r--src/components/cpu/riscv/simple_riscv32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/cpu/riscv/simple_riscv32.c b/src/components/cpu/riscv/simple_riscv32.c
index b000bb1..51b2a42 100644
--- a/src/components/cpu/riscv/simple_riscv32.c
+++ b/src/components/cpu/riscv/simple_riscv32.c
@@ -482,7 +482,8 @@ static stat simple_riscv32_clock(struct simple_riscv32 *cpu)
}
if (!cpu->ils.pkt) {
- cpu->ils.pkt = create_packet(PACKET_READ, cpu->pc, sizeof(uint32_t));
+ cpu->ils.pkt =
+ create_packet(PACKET_READ, cpu->pc, sizeof(uint32_t));
if (!cpu->ils.pkt)
return EMEM;