Graphics Driver Manual for 2D core of S6E2D devices Download

Transcript
A P P L I C A T I O N
11.14.2.6
N O T E
#define MM_ERRCODE(
err ) ((MM_ERROR)(err))
Macro to define the returned Error Code of the driver function
11.14.2.7
#define MM_FALSE ((MM_BOOL) 0)
Definition of FALSE for bool types
11.14.2.8
#define MM_IO_IRIS_CORE 0xD0A10000U
Graphics Core Base Address
11.14.2.9
#define MM_IO_IRIS_SUBSYSTEM 0xD0A00000U
Graphics Subsystem Base Address
11.14.2.10
#define MM_MODULEID(
moduleId )
((MM_MODULE)(moduleId))
Macro to define the IDs of the driver modules
11.14.2.11
#define MM_PTR_TO_ADDR(
x
) (MM_ADDR)(x)
x
) (MM_U32)(x)
Conversion: void∗ to MM_ADDR
11.14.2.12
#define MM_PTR_TO_UINT32(
Conversion: ’void∗’ to ’MM_U32’
11.14.2.13
#define MM_TRUE ((MM_BOOL) 1)
Definition of TRUE for bool types
11.14.2.14
#define MM_UINT32_TO_ADDR(
x
) (MM_ADDR)(x)
Conversion: ’MM_U32’ to ’MM_ADDR’
11.14.2.15
#define MM_UINT32_TO_PTR(
x ) (void∗)(x)
Conversion: ’MM_U32’ to ’void∗’
11.14.2.16
#define MMD_ERR MM_ERRCODE(0x7FFFFFFF)
Abnormal termination (kernel space)
September 11, 2015, S6E2DH_AN709-00022-1v0-E
CONFIDENTIAL
171