Commit | Line | Data |
---|---|---|
d25bc64b JY |
1 | /* |
2 | * | |
3 | * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved. | |
4 | * | |
5 | * This program is free software and is provided to you under the terms of the | |
6 | * GNU General Public License version 2 as published by the Free Software | |
7 | * Foundation, and any use by you of this program is subject to the terms | |
8 | * of such GNU licence. | |
9 | * | |
e0ce5fed | 10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with this program; if not, you can access it online at | |
17 | * http://www.gnu.org/licenses/gpl-2.0.html. | |
18 | * | |
19 | * SPDX-License-Identifier: GPL-2.0 | |
d25bc64b JY |
20 | * |
21 | */ | |
22 | ||
d25bc64b JY |
23 | /* |
24 | * Interface file for the direct implementation for MMU hardware access | |
25 | * | |
26 | * Direct MMU hardware interface | |
27 | * | |
28 | * This module provides the interface(s) that are required by the direct | |
29 | * register access implementation of the MMU hardware interface | |
30 | */ | |
31 | ||
32 | #ifndef _MALI_KBASE_MMU_HW_DIRECT_H_ | |
33 | #define _MALI_KBASE_MMU_HW_DIRECT_H_ | |
34 | ||
35 | #include <mali_kbase_defs.h> | |
36 | ||
37 | /** | |
38 | * kbase_mmu_interrupt - Process an MMU interrupt. | |
39 | * | |
40 | * Process the MMU interrupt that was reported by the &kbase_device. | |
41 | * | |
42 | * @kbdev: kbase context to clear the fault from. | |
43 | * @irq_stat: Value of the MMU_IRQ_STATUS register | |
44 | */ | |
45 | void kbase_mmu_interrupt(struct kbase_device *kbdev, u32 irq_stat); | |
46 | ||
47 | #endif /* _MALI_KBASE_MMU_HW_DIRECT_H_ */ |