This commit is contained in:
parent
695f5fa5bc
commit
ca4e90ad97
@ -67,7 +67,7 @@ ReturnValue_t PdecHandler::initialize() {
|
|||||||
};
|
};
|
||||||
memoryBaseAddress = static_cast<uint32_t*>(
|
memoryBaseAddress = static_cast<uint32_t*>(
|
||||||
mmap(0, PDEC_CFG_MEM_SIZE, static_cast<int>(UioMapper::Permissions::READ_WRITE), MAP_SHARED,
|
mmap(0, PDEC_CFG_MEM_SIZE, static_cast<int>(UioMapper::Permissions::READ_WRITE), MAP_SHARED,
|
||||||
fd, PDEC_RAM_PHY_ADDR));
|
fd, PDEC_CFG_MEM_PHY_ADDR));
|
||||||
if (memoryBaseAddress == nullptr) {
|
if (memoryBaseAddress == nullptr) {
|
||||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
return ObjectManagerIF::CHILD_INIT_FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user