mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:38:05 +11:00
b745f49186
The goal is to avoid mixing those routines with "character devices" (acia, vpd, kbd) which aren't block devices and have routines that have different expectations. This is a first step to fixing #64.
15 lines
384 B
C
15 lines
384 B
C
; Error codes used throughout the kernel
|
|
|
|
; The command that was type isn't known to the shell
|
|
.equ SHELL_ERR_UNKNOWN_CMD 0x01
|
|
|
|
; Arguments for the command weren't properly formatted
|
|
.equ SHELL_ERR_BAD_ARGS 0x02
|
|
|
|
.equ BLOCKDEV_ERR_OUT_OF_BOUNDS 0x03
|
|
.equ BLOCKDEV_ERR_UNSUPPORTED 0x04
|
|
|
|
; IO routines (GetB, PutB) returned an error in a load/save command
|
|
.equ SHELL_ERR_IO_ERROR 0x05
|
|
|