mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
Update runtime/simx/vortex.cpp
Co-authored-by: Martin Troiber <34752929+troibe@users.noreply.github.com>
This commit is contained in:
parent
735b713613
commit
34ef500910
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public:
|
|||
uint64_t map_p2v(uint64_t ppn, uint32_t flags)
|
||||
{
|
||||
DBGPRINT(" [RT:MAP_P2V] ppn: %lx\n", ppn);
|
||||
if (addr_mapping.find(ppn) != addr_mapping.end()) return addr_mapping[ppn];
|
||||
if (addr_mapping.contains(ppn)) return addr_mapping[ppn];
|
||||
|
||||
// If ppn to vpn mapping doesnt exist, create mapping
|
||||
DBGPRINT(" [RT:MAP_P2V] Not found. Allocate new page table or update a PTE.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue