You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation emulates the hardware behavior only, which does not specifically care for the dirty bit checks.
Currently, a translation obtained for a read will transparently allow later writes without causing a page walk (and thus not marking the page structures dirty). This is a bug.
Something along these lines after the mode == paging_mode::PHYS check should be sufficient:
// Writes are only allowed on already dirty translations.if (op.is_write() andnotattr().is_d())
return false;
The text was updated successfully, but these errors were encountered:
The code in https://github.com/blitz/vmmu/blob/master/libvmmu/src/tlb_entry.cpp#L20 should reject writes to translations that are not marked dirty.
The current implementation emulates the hardware behavior only, which does not specifically care for the dirty bit checks.
Currently, a translation obtained for a read will transparently allow later writes without causing a page walk (and thus not marking the page structures dirty). This is a bug.
Something along these lines after the
mode == paging_mode::PHYS
check should be sufficient:The text was updated successfully, but these errors were encountered: