1. 16 Apr, 2025 1 commit
  2. 14 Apr, 2025 1 commit
  3. 12 Apr, 2025 1 commit
  4. 11 Apr, 2025 1 commit
    • leo's avatar
      brk done · 3be83c13
      leo authored
      3be83c13
  5. 08 Apr, 2025 1 commit
  6. 07 Mar, 2025 3 commits
  7. 06 Mar, 2025 2 commits
  8. 13 Sep, 2024 1 commit
  9. 26 Aug, 2024 1 commit
    • Su Mingxian's avatar
      Update `memory_set` (#3, #4 included) · 46c06e57
      Su Mingxian authored
      * use local `memory_addr` for `memory_set`, update `memory_set`, move generic params of mapping structures into `MappingBackEnd` as associated types
      
      * fix docs
      
      * Enhanced `MemoryAddr` (#4)
      
      * demo: what if we add more bounds to `MemoryAddr`
      
      * remove arithmetic bounds for `MemoryAddr`, add some provided methods
      
      * rename `MemoryAddr::sub_addr` to `MemoryAddr::offset_from`
      
      * remove a wrong bug todo
      
      * add two more functions to `VirtAddr`
      
      * add `add` and `sub` to `MemoryAddr`
      
      * clarify the behavior of arithmetic operations of `MemoryAddr`, add detailed unit tests
      
      * formatted
      
      * add `overflowing_add/sub` to `MemoryAddr`
      
      * add `checked_add/sub` to `MemoryAddr`
      
      * `AddrRange` candidate B: allow malformed ranges and treat them as empty
      
      * doc and tests improvement for `MemoryAddr` and `AddrRange`
      
      * update `PageIter`
      
      * formatted
      
      * even more tests, ready to merge
      
      * switch to `AddrRange` candidate A
      
      * add `sub_addr` series to `...
      46c06e57
  10. 20 Aug, 2024 2 commits
  11. 19 Aug, 2024 2 commits
    • aarkegz's avatar
      merge `memory_set` into this repo · c6d82196
      aarkegz authored
      c6d82196
    • Su Mingxian's avatar
      Add `MemoryAddr` trait, add `AddrRange` struct, use macro to generate... · b81b8219
      Su Mingxian authored
      Add `MemoryAddr` trait, add `AddrRange` struct, use macro to generate `PhysAddr` and `VirtAddr` (#1)
      
      * add `MemoryAddr` trait, use macro to generate `PhysAddr` and `VirtAddr`
      
      * loosen the bound of `MemoryAddr`, move functions about alignment back to `PhysAddr` and `VirtAddr`
      
      * update `def_addr_type!` to a better version, only `usize` supported now
      
      * fix formatter for address types generated by `def_addr_types!`
      
      * add `AddrRange`
      
      * export `AddrRange`
      
      * rename `def_addr_types!` to `def_usize_addr!`, and give it a new syntax
      
      * i love `///`
      
      * re-add mistakenly removed `as_ptr` and `as_mut_ptr` to `VirtAddr`
      
      * add doc comment to `VirtAddrRange` and `PhysAddrRange`
      
      * doc improvement
      
      * add a new `#[inline]`
      
      * move impl for `Debug`, `LowerHex`, and `UpperHex` from `def_usize_addr!` to a new macro named `def_usize_addr_formatter!`, which accepts custom formatter, in order to keep consistency with the original `Virt/PhysAddr::fmt`
      
      * doc fixed
      
      * update `Debug` impl for `AddrRange`, add `LowerHex` and `UpperHex` impl for `AddrRange`
      
      * a small doc fix about number of `#`s
      
      * a small doc fix
      
      * doc and fixes about `def_usize_addr!` and `def_usize_addr_formatter!`
      
      * change doctests for `AddrRange`
      
      * doc fix
      
      * replace `VirtAddrRange` with `AddrRange<usize>` in doc tests for `AddrRange`
      
      * hidden `fn main` in doc test of `def_usize_addr`
      
      * replace `VirtAddrRange` with `AddrRange<usize>` in doc tests for `AddrRange`
      b81b8219
  12. 04 Aug, 2024 2 commits
  13. 28 Jul, 2024 2 commits
  14. 26 Jul, 2024 2 commits
  15. 17 Jul, 2024 1 commit
  16. 16 Jul, 2024 4 commits
  17. 11 Jul, 2024 1 commit
  18. 10 Jul, 2024 1 commit