Skip to content

Commit 7cf8392

Browse files
committed
Change of Error Code for Exception enum TryFrom<u8> impl
Signed-off-by: Shailesh Vashishth <[email protected]>
1 parent 1e5e541 commit 7cf8392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_common/src/outb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl TryFrom<u8> for Exception {
7777
19 => SIMDFloatingPointException,
7878
20 => VirtualizationException,
7979
30 => SecurityException,
80-
0x7F => NoException,
80+
0xFF => NoException,
8181
_ => return Err(anyhow!("Unknown exception code: {:#x}", value)),
8282
};
8383

0 commit comments

Comments
 (0)