2 * Jailhouse, a Linux-based partitioning hypervisor
4 * Copyright (c) Siemens AG, 2013
7 * Jan Kiszka <jan.kiszka@siemens.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
13 #ifndef _JAILHOUSE_ASM_CELL_H
14 #define _JAILHOUSE_ASM_CELL_H
16 #include <asm/types.h>
17 #include <asm/paging.h>
19 #include <jailhouse/cell-config.h>
20 #include <jailhouse/hypercall.h>
24 /* should be first as it requires page alignment */
25 u8 __attribute__((aligned(PAGE_SIZE))) io_bitmap[2*PAGE_SIZE];
34 unsigned int data_pages;
35 struct jailhouse_cell_desc *config;
37 struct cpu_set *cpu_set;
38 struct cpu_set small_cpu_set;
40 unsigned long page_offset;
45 struct jailhouse_comm_region comm_region;
46 u8 padding[PAGE_SIZE];
47 } __attribute__((aligned(PAGE_SIZE))) comm_page;
50 extern struct cell linux_cell;
52 #endif /* !_JAILHOUSE_ASM_CELL_H */