use read write permissions for uio

This commit is contained in:
Robin Müller 2023-05-27 17:00:41 +02:00
parent 016e9dd2df
commit 9c78362ac5
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -16,7 +16,7 @@ PapbVcInterface::~PapbVcInterface() {}
ReturnValue_t PapbVcInterface::initialize() {
UioMapper uioMapper(uioFile, mapNum);
ReturnValue_t result = uioMapper.getMappedAdress(const_cast<uint32_t**>(&vcBaseReg),
UioMapper::Permissions::WRITE_ONLY);
UioMapper::Permissions::READ_WRITE);
if (result != returnvalue::OK) {
return result;
}