Hi,

If I understand correctly, the method "Addr System::*allocPhysPages*(int
npages)" in src/sim/system.hh allocates contiguous physical pages.

It maintains a counter "pagePtr" which is increased when allocating
physical pages.

But what is the mechanism to free physical pages? Or what am I missing?

Thank you.
Hao
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to