diff options
Diffstat (limited to 'src/exceptions.rs')
| -rw-r--r-- | src/exceptions.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/exceptions.rs b/src/exceptions.rs index 6bc21f2..cc18839 100644 --- a/src/exceptions.rs +++ b/src/exceptions.rs @@ -6,8 +6,6 @@ use int_enum::IntEnum; -use crate::consts::{Addr, DWord}; - #[repr(u8)] #[allow(dead_code)] #[derive(Debug, Clone, Copy, PartialEq, Eq, IntEnum)] @@ -43,7 +41,7 @@ impl ExceptionType { #[derive(Debug, Clone, Copy)] pub struct Exception { pub type_: ExceptionType, - pub value: DWord, + pub value: u64, } #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -56,7 +54,7 @@ pub enum MemoryExceptionType { #[derive(Debug, Clone, Copy)] pub struct MemoryException { pub type_: MemoryExceptionType, - pub addr: Addr, + pub addr: u64, } impl MemoryException { |
