Skip to content
Snippets Groups Projects
Commit 3da34586 authored by Robin Randhawa's avatar Robin Randhawa
Browse files

aarch64: paging: Derive Debug, PartialEq for VirtualAddressType

This makes asserts on VirtualAddressType equality possible.
parent 452196b8
No related branches found
No related tags found
2 merge requests!162Fixes for grant maps and others,!156WIP: aarch64 support
...@@ -392,6 +392,7 @@ impl PhysicalAddress { ...@@ -392,6 +392,7 @@ impl PhysicalAddress {
#[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] #[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct VirtualAddress(usize); pub struct VirtualAddress(usize);
#[derive(Debug, PartialEq)]
pub enum VirtualAddressType { pub enum VirtualAddressType {
User, User,
Kernel Kernel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment