Move away from using const references of std::vector<unsigned char> for target memory buffers. Replaced with std::span<const unsigned char> (via TargetMemoryBufferSpan alias)
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Targets::RiscV::Wch
|
||||
const TargetAddressSpaceDescriptor& addressSpaceDescriptor,
|
||||
const TargetMemorySegmentDescriptor& memorySegmentDescriptor,
|
||||
TargetMemoryAddress startAddress,
|
||||
const TargetMemoryBuffer& buffer
|
||||
TargetMemoryBufferSpan buffer
|
||||
) {
|
||||
/*
|
||||
* WCH targets have an alias segment that maps to either the program memory segment or the boot program
|
||||
|
||||
Reference in New Issue
Block a user