]> rtime.felk.cvut.cz Git - jailhouse.git/blob - hypervisor/include/jailhouse/header.h
core/driver: Consolidate bss_start/end header fields to core_size
[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         unsigned long entry;
21
22         /* filled by loader */
23         unsigned long size;
24         unsigned long page_offset;
25         unsigned int possible_cpus;
26         unsigned int online_cpus;
27 };
28
29 typedef int (*entry_func)(unsigned int);