diff --git a/src/simulator/machine.rs b/src/simulator/machine.rs index 462c775..2991611 100644 --- a/src/simulator/machine.rs +++ b/src/simulator/machine.rs @@ -10,7 +10,7 @@ use std::fs::File; /* * Decommenter la variant si il est utilisé quelque part */ -enum ExceptionType { +pub enum ExceptionType { NO_EXCEPTION,//Everything ok! //SYSCALL_EXCEPTION,//A program executed a system call. PAGEFAULT_EXCEPTION,//Page fault exception