]> rtime.felk.cvut.cz Git - jailhouse.git/blob - hypervisor/arch/arm/include/asm/cell.h
ARM: Add missing id field to cell structure
[jailhouse.git] / hypervisor / arch / arm / include / asm / cell.h
1 /*
2  * Jailhouse, a Linux-based partitioning hypervisor
3  *
4  * Copyright (c) Siemens AG, 2013
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_ASM_CELL_H
14 #define _JAILHOUSE_ASM_CELL_H
15
16 #include <asm/types.h>
17 #include <asm/paging.h>
18
19 #include <jailhouse/cell-config.h>
20
21 struct cell {
22         char name[JAILHOUSE_CELL_NAME_MAXLEN+1];
23         unsigned int id;
24
25         struct cpu_set *cpu_set;
26         struct cpu_set small_cpu_set;
27
28         unsigned long page_offset;
29
30         struct cell *next;
31 };
32
33 extern struct cell *cell_list;
34
35 #endif /* !_JAILHOUSE_ASM_CELL_H */