}
WriteRegisterData;
+// dkm : add "#if VIVANTE_PROFILER" to invalidate the unions for reduce the sizeof(gcsHAL_INTERFACE)
+#if VIVANTE_PROFILER
/* gcvHAL_GET_PROFILE_SETTING */
struct _gcsHAL_GET_PROFILE_SETTING
{
OUT gcs2D_PROFILE_PTR hwProfile2D;
}
RegisterProfileData2D;
+#endif
/* Power management. */
/* gcvHAL_SET_POWER_MANAGEMENT_STATE */
}
MapPhysical;
+// dkm : add "#if gcdDUMP_IN_KERNEL" to invalidate the union for reduce the sizeof(gcsHAL_INTERFACE)
+#if gcdDUMP_IN_KERNEL
/* gcvHAL_DEBUG */
struct _gcsHAL_DEBUG
{
IN gctCHAR message[80];
}
Debug;
+#endif
struct _gcsHAL_CACHE
{
break;
case gcvHAL_DEBUG:
+// dkm : add "#if gcdDUMP_IN_KERNEL" to invalidate the code.
+#if gcdDUMP_IN_KERNEL
/* Set debug level and zones. */
if (Interface->u.Debug.set)
{
/* Print a message to the debugger. */
gcmkPRINT(Interface->u.Debug.message);
}
+#endif
status = gcvSTATUS_OK;
break;