From 63da7f8d57fab339530e2ac4c808ff71ff3c4941 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Tue, 9 Jul 2024 13:57:11 +0200 Subject: [PATCH] applies clang-format --- src/iss/arch/riscv_hart_m_p.h | 2 +- src/iss/arch/riscv_hart_msu_vp.h | 2 +- src/iss/arch/riscv_hart_mu_p.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iss/arch/riscv_hart_m_p.h b/src/iss/arch/riscv_hart_m_p.h index b032c46..d257d9c 100644 --- a/src/iss/arch/riscv_hart_m_p.h +++ b/src/iss/arch/riscv_hart_m_p.h @@ -598,7 +598,7 @@ template std::pair riscv_hart_m const auto fsize = pseg->get_file_size(); // 0x42c/0x0 const auto seg_data = pseg->get_data(); const auto type = pseg->get_type(); - if(type==1 && fsize > 0) { + if(type == 1 && fsize > 0) { auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits::MEM, pseg->get_physical_address(), fsize, reinterpret_cast(seg_data)); if(res != iss::Ok) diff --git a/src/iss/arch/riscv_hart_msu_vp.h b/src/iss/arch/riscv_hart_msu_vp.h index 12da37e..fd1b844 100644 --- a/src/iss/arch/riscv_hart_msu_vp.h +++ b/src/iss/arch/riscv_hart_msu_vp.h @@ -582,7 +582,7 @@ template std::pair riscv_hart_msu_vp::load const auto fsize = pseg->get_file_size(); // 0x42c/0x0 const auto seg_data = pseg->get_data(); const auto type = pseg->get_type(); - if(type==1 && fsize > 0) { + if(type == 1 && fsize > 0) { auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits::MEM, pseg->get_physical_address(), fsize, reinterpret_cast(seg_data)); if(res != iss::Ok) diff --git a/src/iss/arch/riscv_hart_mu_p.h b/src/iss/arch/riscv_hart_mu_p.h index e6a10a9..345ea27 100644 --- a/src/iss/arch/riscv_hart_mu_p.h +++ b/src/iss/arch/riscv_hart_mu_p.h @@ -669,7 +669,7 @@ template std::pair riscv_hart_m const auto fsize = pseg->get_file_size(); // 0x42c/0x0 const auto seg_data = pseg->get_data(); const auto type = pseg->get_type(); - if(type==1 && fsize > 0) { + if(type == 1 && fsize > 0) { auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits::MEM, pseg->get_physical_address(), fsize, reinterpret_cast(seg_data)); if(res != iss::Ok)