diff options
| author | taitep <taitep@taitep.se> | 2025-12-28 12:01:39 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-28 12:01:39 +0100 |
| commit | 9a9bef7dd7dce7d5c10b7cf49a42478ad85829ac (patch) | |
| tree | ea832693678899e97aecf12bd620f0123b6ce3d2 /src/exceptions.rs | |
| parent | 8024af6b1348b5f47fabe5a1949de54607a33888 (diff) | |
Remove consts.rs and just use plain types
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 { |
