Skip to content

Conversation

shilei-massclouds
Copy link

New repo 'aspace_generic' introduces the common generic type AddrSpace<PagingMetaData,PTE,H>.
This generic type needs 'PagingMetaData::VirtAddr' with extra 'Debug' and 'LowerHex' constrains to print debug info.

@shilei-massclouds
Copy link
Author

3/9 in this issue (arceos-hypervisor/axvisor#123)

@equation314
Copy link
Member

equation314 commented Apr 22, 2025

The trait MemoryAddr implements Into<usize>, we can use vaddr.into() to print the debug info without extra efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants