- Add LoongArch64 support (#11).
- Upgrade to Rust edition 2024, which requires Rust v1.85 or later.
- Fix x86_64 dependency version as v0.15.1.
- Add trait
SvVirtAddr
for custom virtual address types.
- Update
memory_addr
to0.3.0
, which is not backward compatible with0.2.0
.
- Support the use of
page_table_entry
at the ARM EL2 privilege level (via thearm-el2
feature).
- Fix the Rust documentation for
TlbFlush
andTlbFlushAll
.
- Allow generic virtual address types in
PageTable64
.
- Allow users to control the TLB flush behavior.
- Return structures
TlbFlush
/TlbFlushAll
after mapping change (e.g., callPageTable64::map
). - Add a parameter
flush_tlb_by_page
tomap_region
/unmap_region
/protect_region
inPageTable64
.
- Return structures
- No longer collect intermediate tables into a
Vec
, walk the page table and deallocate them on drop. - Replace the
update
method ofPageTable64
withremap
andprotect
, also addprotect_region
andcopy_from
.
Initial release.