diff --git a/kernel_headers/sdcc/include/zos_errors.h b/kernel_headers/sdcc/include/zos_errors.h index 134a242..d012966 100644 --- a/kernel_headers/sdcc/include/zos_errors.h +++ b/kernel_headers/sdcc/include/zos_errors.h @@ -6,32 +6,32 @@ #pragma once typedef enum { - ERR_SUCCESS = 0, - ERR_FAILURE, - ERR_NOT_IMPLEMENTED, - ERR_NOT_SUPPORTED, - ERR_NO_SUCH_ENTRY, - ERR_INVALID_SYSCALL, - ERR_INVALID_PARAMETER, - ERR_INVALID_VIRT_PAGE, - ERR_INVALID_PHYS_ADDRESS, - ERR_INVALID_OFFSET, - ERR_INVALID_NAME, - ERR_INVALID_PATH, - ERR_INVALID_FILESYSTEM, - ERR_INVALID_FILEDEV, - ERR_PATH_TOO_LONG, - ERR_ALREADY_EXIST, - ERR_ALREADY_OPENED, - ERR_ALREADY_MOUNTED, - ERR_READ_ONLY, - ERR_BAD_MODE, - ERR_CANNOT_REGISTER_MORE, - ERR_NO_MORE_ENTRIES, - ERR_NO_MORE_MEMORY, - ERR_NOT_A_DIR, - ERR_NOT_A_FILE, - ERR_ENTRY_CORRUPTED, - ERR_DIR_NOT_EMPTY, + ERR_SUCCESS = 0, + ERR_FAILURE = 1, + ERR_NOT_IMPLEMENTED = 2, + ERR_NOT_SUPPORTED = 3, + ERR_NO_SUCH_ENTRY = 4, + ERR_INVALID_SYSCALL = 5, + ERR_INVALID_PARAMETER = 6, + ERR_INVALID_VIRT_PAGE = 7, + ERR_INVALID_PHYS_ADDRESS = 8, + ERR_INVALID_OFFSET = 9, + ERR_INVALID_NAME = 10, + ERR_INVALID_PATH = 11, + ERR_INVALID_FILESYSTEM = 12, + ERR_INVALID_FILEDEV = 13, + ERR_PATH_TOO_LONG = 14, + ERR_ALREADY_EXIST = 15, + ERR_ALREADY_OPENED = 16, + ERR_ALREADY_MOUNTED = 17, + ERR_READ_ONLY = 18, + ERR_BAD_MODE = 19, + ERR_CANNOT_REGISTER_MORE = 21, + ERR_NO_MORE_ENTRIES = 22, + ERR_NO_MORE_MEMORY = 23, + ERR_NOT_A_DIR = 24, + ERR_NOT_A_FILE = 25, + ERR_ENTRY_CORRUPTED = 26, + ERR_DIR_NOT_EMPTY = 27, } zos_err_t; diff --git a/kernel_headers/z88dk-z80asm/zos_err.asm b/kernel_headers/z88dk-z80asm/zos_err.asm index 15965cd..b9384d2 100644 --- a/kernel_headers/z88dk-z80asm/zos_err.asm +++ b/kernel_headers/z88dk-z80asm/zos_err.asm @@ -7,33 +7,33 @@ DEFGROUP { - ERR_SUCCESS = 0, - ERR_FAILURE, - ERR_NOT_IMPLEMENTED, - ERR_NOT_SUPPORTED, - ERR_NO_SUCH_ENTRY, - ERR_INVALID_SYSCALL, - ERR_INVALID_PARAMETER, - ERR_INVALID_VIRT_PAGE, - ERR_INVALID_PHYS_ADDRESS, - ERR_INVALID_OFFSET, - ERR_INVALID_NAME, - ERR_INVALID_PATH, - ERR_INVALID_FILESYSTEM, - ERR_INVALID_FILEDEV, - ERR_PATH_TOO_LONG, - ERR_ALREADY_EXIST, - ERR_ALREADY_OPENED, - ERR_ALREADY_MOUNTED, - ERR_READ_ONLY, - ERR_BAD_MODE, - ERR_CANNOT_REGISTER_MORE, - ERR_NO_MORE_ENTRIES, - ERR_NO_MORE_MEMORY, - ERR_NOT_A_DIR, - ERR_NOT_A_FILE, - ERR_ENTRY_CORRUPTED, - ERR_DIR_NOT_EMPTY, + ERR_SUCCESS = 0, + ERR_FAILURE = 1, + ERR_NOT_IMPLEMENTED = 2, + ERR_NOT_SUPPORTED = 3, + ERR_NO_SUCH_ENTRY = 4, + ERR_INVALID_SYSCALL = 5, + ERR_INVALID_PARAMETER = 6, + ERR_INVALID_VIRT_PAGE = 7, + ERR_INVALID_PHYS_ADDRESS = 8, + ERR_INVALID_OFFSET = 9, + ERR_INVALID_NAME = 10, + ERR_INVALID_PATH = 11, + ERR_INVALID_FILESYSTEM = 12, + ERR_INVALID_FILEDEV = 13, + ERR_PATH_TOO_LONG = 14, + ERR_ALREADY_EXIST = 15, + ERR_ALREADY_OPENED = 16, + ERR_ALREADY_MOUNTED = 17, + ERR_READ_ONLY = 18, + ERR_BAD_MODE = 19, + ERR_CANNOT_REGISTER_MORE = 20, + ERR_NO_MORE_ENTRIES = 21, + ERR_NO_MORE_MEMORY = 22, + ERR_NOT_A_DIR = 23, + ERR_NOT_A_FILE = 24, + ERR_ENTRY_CORRUPTED = 25, + ERR_DIR_NOT_EMPTY = 26, } ENDIF ; ZOS_ERR_HEADER