Compare commits
	
		
			1 Commits
		
	
	
		
			fb4012fbd1
			...
			63da7f8d57
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 63da7f8d57 | 
| @@ -598,7 +598,7 @@ template <typename BASE, features_e FEAT> std::pair<uint64_t, bool> riscv_hart_m | |||||||
|                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 |                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 | ||||||
|                 const auto seg_data = pseg->get_data(); |                 const auto seg_data = pseg->get_data(); | ||||||
|                 const auto type = pseg->get_type(); |                 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<BASE>::MEM, |                     auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits<BASE>::MEM, | ||||||
|                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); |                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); | ||||||
|                     if(res != iss::Ok) |                     if(res != iss::Ok) | ||||||
|   | |||||||
| @@ -582,7 +582,7 @@ template <typename BASE> std::pair<uint64_t, bool> riscv_hart_msu_vp<BASE>::load | |||||||
|                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 |                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 | ||||||
|                 const auto seg_data = pseg->get_data(); |                 const auto seg_data = pseg->get_data(); | ||||||
|                 const auto type = pseg->get_type(); |                 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<BASE>::MEM, |                     auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits<BASE>::MEM, | ||||||
|                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); |                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); | ||||||
|                     if(res != iss::Ok) |                     if(res != iss::Ok) | ||||||
|   | |||||||
| @@ -669,7 +669,7 @@ template <typename BASE, features_e FEAT> std::pair<uint64_t, bool> riscv_hart_m | |||||||
|                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 |                 const auto fsize = pseg->get_file_size(); // 0x42c/0x0 | ||||||
|                 const auto seg_data = pseg->get_data(); |                 const auto seg_data = pseg->get_data(); | ||||||
|                 const auto type = pseg->get_type(); |                 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<BASE>::MEM, |                     auto res = this->write(iss::address_type::PHYSICAL, iss::access_type::DEBUG_WRITE, traits<BASE>::MEM, | ||||||
|                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); |                                            pseg->get_physical_address(), fsize, reinterpret_cast<const uint8_t* const>(seg_data)); | ||||||
|                     if(res != iss::Ok) |                     if(res != iss::Ok) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user