Update runtime/simx/vortex.cpp

Co-authored-by: Martin Troiber <34752929+troibe@users.noreply.github.com>
This commit is contained in:
Jaewon Lee 2024-07-20 10:25:33 -04:00 committed by GitHub
parent 91a1f41f99
commit a4ee8dfa7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,8 +120,6 @@ public:
uint64_t map_p2v(uint64_t ppn, uint32_t flags)
{
DBGPRINT(" [RT:MAP_P2V] ppn: %lx\n", ppn);
// std::cout << std::hex << pAddr << std::endl;
// return pAddr + 0xf000000;
if (addr_mapping.find(ppn) != addr_mapping.end()) return addr_mapping[ppn];
// If ppn to vpn mapping doesnt exist, create mapping