enum visibility

This commit is contained in:
Moysan Gabriel 2023-03-13 18:01:02 +01:00
parent 5f798edb94
commit be19031c32

View File

@ -10,7 +10,7 @@ use std::fs::File;
/* /*
* Decommenter la variant si il est utilisé quelque part * Decommenter la variant si il est utilisé quelque part
*/ */
enum ExceptionType { pub enum ExceptionType {
NO_EXCEPTION,//Everything ok! NO_EXCEPTION,//Everything ok!
//SYSCALL_EXCEPTION,//A program executed a system call. //SYSCALL_EXCEPTION,//A program executed a system call.
PAGEFAULT_EXCEPTION,//Page fault exception PAGEFAULT_EXCEPTION,//Page fault exception