]> rtime.felk.cvut.cz Git - jailhouse.git/blob - hypervisor/include/jailhouse/header.h
driver/core: Remove size field from hypervisor header
[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 core_size;
19         unsigned long percpu_size;
20         int (*entry)(unsigned int);
21
22         /* filled by loader */
23         unsigned long page_offset;
24         unsigned int possible_cpus;
25         unsigned int online_cpus;
26 };