Hi,
I am trying to do a custom method of allocating physical address. I found that 
allocPhysPages(int npages) is the one which handles allocating new pages. In 
this function there is this following section of code which check if the 
physical addr provided is in MMIO region or not:

AddrRange m5opRange(0xffff0000, 0x100000000);
if (m5opRange.contains(next_return_addr)) {
    warn("Reached m5ops MMIO region\n");
    return_addr = 0xffffffff;
    pagePtr = 0xffffffff >> PageShift;
}
I was wondering if I can comment this out to keep my allocation logic simple. 
That is, if I don't handle this MMIO region check would it lead to any kind of 
failure during simulation in SE mode?

Thanks,
Tapojyoti Mandal
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to