From 7164c4bd03d8dfcfaf92ec5fe50612739ab5a435 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 27 Aug 2013 17:45:38 +0100 Subject: Keep the 'status' field in structures passed to galcore The galcore API function expects the second word to contain a status value - passing other stuff here leads to errors returned from gcoOS_DeviceControl(). Signed-off-by: Russell King --- src/gal_extension.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gal_extension.h b/src/gal_extension.h index 5c26ade..f02b418 100644 --- a/src/gal_extension.h +++ b/src/gal_extension.h @@ -10,6 +10,7 @@ /* Map a DMABUF fd into galcore */ struct map_dma_buf { unsigned zero; + unsigned status; int fd; gctPOINTER Info; gctUINT32 Address; -- cgit v1.2.3