tizen 2.4 release
[kernel/linux-3.0.git] / drivers / gpu / arm / mali400 / mali / common / mali_kernel_core.h
1 /*
2  * Copyright (C) 2011-2012 ARM Limited. All rights reserved.
3  *
4  * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5  * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
6  *
7  * A copy of the licence is included with the program, and can also be obtained from Free Software
8  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
9  */
10
11 #ifndef __MALI_KERNEL_CORE_H__
12 #define __MALI_KERNEL_CORE_H__
13
14 #include "mali_osk.h"
15 /* MALI_SEC */
16 extern int mali_hang_check_interval;
17 extern int mali_max_job_runtime;
18
19 typedef enum
20 {
21         _MALI_PRODUCT_ID_UNKNOWN,
22         _MALI_PRODUCT_ID_MALI200,
23         _MALI_PRODUCT_ID_MALI300,
24         _MALI_PRODUCT_ID_MALI400,
25         _MALI_PRODUCT_ID_MALI450,
26 } _mali_product_id_t;
27
28 _mali_osk_errcode_t mali_initialize_subsystems(void);
29
30 void mali_terminate_subsystems(void);
31
32 _mali_product_id_t mali_kernel_core_get_product_id(void);
33
34 u32 _mali_kernel_core_dump_state(char* buf, u32 size);
35
36 #endif /* __MALI_KERNEL_CORE_H__ */
37