1 /* See COPYRIGHT for copyright information. */
6 // Kernel error codes -- keep in sync with list in kern/printf.c.
7 #define E_UNSPECIFIED 1 // Unspecified or unknown problem
8 #define E_BAD_ENV 2 // Environment doesn't exist or otherwise
9 // cannot be used in requested action
10 #define E_INVAL 3 // Invalid parameter
11 #define E_NO_MEM 4 // Request failed due to memory shortage
12 #define E_NO_FREE_ENV 5 // Attempt to create a new environment beyond
13 // the maximum allowed
14 #define E_IPC_NOT_RECV 6 // Attempt to send to env that is not recving.
15 #define E_EOF 7 // Unexpected end of file