32 #ifndef __SIM_PROCESS_IMPL_HH__
33 #define __SIM_PROCESS_IMPL_HH__
41 template<
class AddrType>
44 AddrType array_ptr, AddrType data_ptr,
47 AddrType data_ptr_swap;
50 memProxy.
writeBlob(array_ptr, (uint8_t*)&data_ptr_swap,
53 array_ptr +=
sizeof(AddrType);
54 data_ptr += strings[
i].size() + 1;
59 memProxy.
writeBlob(array_ptr, (uint8_t*)&data_ptr,
sizeof(AddrType));
void copyStringArray(std::vector< std::string > &strings, AddrType array_ptr, AddrType data_ptr, SETranslatingPortProxy &memProxy)
void writeString(Addr addr, const char *str) const
TranslatingPortProxy Object Declaration for SE.
virtual void writeBlob(Addr addr, const uint8_t *p, int size) const
Write size bytes from p to address.