]> rtime.felk.cvut.cz Git - jailhouse.git/blob - driver/main.h
arm: Factor out gic_targets_in_cell
[jailhouse.git] / driver / main.h
1 /*
2  * Jailhouse, a Linux-based partitioning hypervisor
3  *
4  * Copyright (c) Siemens AG, 2013-2015
5  *
6  * Authors:
7  *  Jan Kiszka <jan.kiszka@siemens.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2.  See
10  * the COPYING file in the top-level directory.
11  */
12
13 #ifndef _JAILHOUSE_DRIVER_MAIN_H
14 #define _JAILHOUSE_DRIVER_MAIN_H
15
16 #include <linux/mutex.h>
17
18 #include "cell.h"
19
20 extern struct mutex jailhouse_lock;
21 extern bool jailhouse_enabled;
22
23 void *jailhouse_ioremap(phys_addr_t phys, unsigned long virt,
24                         unsigned long size);
25
26 #endif /* !_JAILHOUSE_DRIVER_MAIN_H */