diff options
author | raj <raj@FreeBSD.org> | 2008-10-04 13:10:38 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2008-10-04 13:10:38 +0000 |
commit | 2a77c29adae965cd014d2d82376d68280e2846a4 (patch) | |
tree | b761593699187a27c02dd46c0d6e88ccedafd035 /sys/boot/uboot/lib/api_public.h | |
parent | aa0d5826064a4ef4cf0e7827a6b587eebc679f74 (diff) | |
download | FreeBSD-src-2a77c29adae965cd014d2d82376d68280e2846a4.zip FreeBSD-src-2a77c29adae965cd014d2d82376d68280e2846a4.tar.gz |
U-Boot API glue improvements:
- extend ub_dev_read() and ub_dev_recv() so that the actual len and
all error codes can be passed and processed properly; unify behaviour of
these routines
- introduce syscall general error code (API_ESYSC)
Diffstat (limited to 'sys/boot/uboot/lib/api_public.h')
-rw-r--r-- | sys/boot/uboot/lib/api_public.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/uboot/lib/api_public.h b/sys/boot/uboot/lib/api_public.h index 0ec6129..9edf3af 100644 --- a/sys/boot/uboot/lib/api_public.h +++ b/sys/boot/uboot/lib/api_public.h @@ -62,6 +62,7 @@ #define API_ENOMEM 3 /* no memory */ #define API_EBUSY 4 /* busy, occupied etc. */ #define API_EIO 5 /* I/O error */ +#define API_ESYSC 6 /* syscall error */ typedef int (*scp_t)(int, int *, ...); |