From 2a77c29adae965cd014d2d82376d68280e2846a4 Mon Sep 17 00:00:00 2001 From: raj Date: Sat, 4 Oct 2008 13:10:38 +0000 Subject: 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) --- sys/boot/uboot/lib/api_public.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/boot/uboot/lib/api_public.h') 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 *, ...); -- cgit v1.1