diff options
author | Sidath Senanayake <sidaths@google.com> | 2018-12-06 09:09:59 +0100 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2018-12-06 09:09:59 +0100 |
commit | a970431fa55f99aba31ea4263fdc8e70019a9ccd (patch) | |
tree | 91bb7f49a4869c0385338fe144f53ac8b98468ea /mali_kbase/mali_malisw.h | |
parent | f10b3de5283d0c196459f18160161e48cfadae81 (diff) | |
download | gpu-a970431fa55f99aba31ea4263fdc8e70019a9ccd.tar.gz |
Mali Bifrost DDK r16p0 KMD
Provenance:
aa8b3ff0f (collaborate/EAC/b_r16p0)
BX304L01B-BU-00000-r16p0-01rel0
BX304L06A-BU-00000-r16p0-01rel0
BX304X07X-BU-00000-r16p0-01rel0
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I96125862b7cf6596d1b7109853fb4ca39e851056
Diffstat (limited to 'mali_kbase/mali_malisw.h')
-rw-r--r-- | mali_kbase/mali_malisw.h | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/mali_kbase/mali_malisw.h b/mali_kbase/mali_malisw.h index f17bd5e..3a4db10 100644 --- a/mali_kbase/mali_malisw.h +++ b/mali_kbase/mali_malisw.h @@ -1,6 +1,6 @@ /* * - * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2014-2015, 2018 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -83,15 +83,6 @@ #define CSTD_NOP(...) ((void)#__VA_ARGS__) /** - * Function-like macro for converting a pointer in to a u64 for storing into - * an external data structure. This is commonly used when pairing a 32-bit - * CPU with a 64-bit peripheral, such as a Midgard GPU. C's type promotion - * is complex and a straight cast does not work reliably as pointers are - * often considered as signed. - */ -#define PTR_TO_U64(x) ((uint64_t)((uintptr_t)(x))) - -/** * @hideinitializer * Function-like macro for stringizing a single level macro. * @code @@ -115,22 +106,4 @@ */ #define CSTD_STR2(x) CSTD_STR1(x) -/** - * Specify an assertion value which is evaluated at compile time. Recommended - * usage is specification of a @c static @c INLINE function containing all of - * the assertions thus: - * - * @code - * static INLINE [module]_compile_time_assertions( void ) - * { - * COMPILE_TIME_ASSERT( sizeof(uintptr_t) == sizeof(intptr_t) ); - * } - * @endcode - * - * @note Use @c static not @c STATIC. We never want to turn off this @c static - * specification for testing purposes. - */ -#define CSTD_COMPILE_TIME_ASSERT(expr) \ - do { switch (0) { case 0: case (expr):; } } while (false) - #endif /* _MALISW_H_ */ |