Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e64568b8 authored by Michael Zoran's avatar Michael Zoran Committed by Greg Kroah-Hartman
Browse files

staging: vc04_services: Change fields of page list structure to fixed length



The arm processor core and the GPU have shared data structures.
One of these structures is a list of pages of data for messages.
This structure can not change since it is dependent on the GPU
firmware which is external to the kernel.  Convert the fields
of this structure to fixed length fields.

Signed-off-by: default avatarMichael Zoran <mzoran@crowfest.net>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35b7ebda
Loading
Loading
Loading
Loading
+7 −5
Original line number Original line Diff line number Diff line
@@ -43,11 +43,13 @@
#define PAGELIST_READ_WITH_FRAGMENTS 2
#define PAGELIST_READ_WITH_FRAGMENTS 2


typedef struct pagelist_struct {
typedef struct pagelist_struct {
	unsigned long length;
	u32 length;
	unsigned short type;
	u16 type;
	unsigned short offset;
	u16 offset;
	unsigned long addrs[1];	/* N.B. 12 LSBs hold the number of following
	u32 addrs[1];	/* N.B. 12 LSBs hold the number
				   pages at consecutive addresses. */
			 * of following pages at consecutive
			 * addresses.
			 */
} PAGELIST_T;
} PAGELIST_T;


typedef struct fragments_struct {
typedef struct fragments_struct {