]> rtime.felk.cvut.cz Git - jailhouse.git/blob - hypervisor/include/jailhouse/header.h
Jailhouse public release
[jailhouse.git] / hypervisor / include / jailhouse / header.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 #define JAILHOUSE_SIGNATURE     "JAILHOUS"
14
15 struct jailhouse_header {
16         /* filled at build time */
17         char signature[8];
18         unsigned long bss_start;
19         unsigned long bss_end;
20         unsigned long percpu_size;
21         unsigned long entry;
22
23         /* filled by loader */
24         unsigned long size;
25         unsigned long page_offset;
26         unsigned int possible_cpus;
27         unsigned int online_cpus;
28 };
29
30 typedef int (*entry_func)(unsigned int);