Kernel/PCI - Updated PCI API to take the protocol field into account
[tpg/acess2.git] / Kernel / include / errno.h
index 8bf83d8..a1a9582 100644 (file)
@@ -1,16 +1,29 @@
 /*
- * AcessOS Microkernel Version
+ * Acess2
  * errno.h
  */
 #ifndef _ERRNO_H
 #define _ERRNO_H
 
-enum eErrorNums {
+enum eErrorNums
+{
        EOK,
-       ENOSYS,
-       EINVAL,
-       ENOMEM,
-       EACCES
+       
+       ENOSYS, // Invalid Instruction
+       EINVAL, // Invalid Paramater
+       ENOMEM, // No free memory
+       EACCES, // Not permitted
+       ENOTFOUND,      // Item not found
+       EREADONLY,      // Read only
+       ENOTIMPL,       // Not implemented
+       ENOENT, // No entry?
+       ENFILE, // Too many open files
+       ENOTDIR,        // Not a directory
+       
+       EALREADY,       // Operation was a NOP
+       EINTERNAL,      // Internal Error
+       
+       NUM_ERRS
 };
 
 #endif

UCC git Repository :: git.ucc.asn.au