platform_hardware_libhardware/modules/gralloc
Ashok Bhat d2be74aa57 AArch64: Calculate private_handle_t's numInts
A constant sNumInts with a value of 6 was being assigned to the numInts
attribute in the private_handle_t constructor, and was also used in the
validate method. That constant value is appropriate for 32-bit systems
but is not appropriate for a 64-bit system where uintptr_t used for
base attribute will be 64-bit.

sNumInts is now changed to a static inline function that calculates
numInts.

Change-Id: I482ddb5915c9ff55fb2e2a87887a0ec2dc2299ed
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
2014-02-07 17:52:08 +00:00
..
Android.mk gralloc: fix warnings 2014-02-05 18:21:09 -08:00
framebuffer.cpp am 1fbbb08d: Merge "remove seemed useless gralloc_open() call in fb_device_open()" 2012-06-12 15:16:18 -07:00
gr.h remove all references to pmem and simplify the lock/unlock hooks 2009-12-15 15:00:57 -08:00
gralloc.cpp gralloc: fix warnings 2014-02-05 18:21:09 -08:00
gralloc_priv.h AArch64: Calculate private_handle_t's numInts 2014-02-07 17:52:08 +00:00
mapper.cpp gralloc: fix warnings 2014-02-05 18:21:09 -08:00