My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
nsk_boot.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  * openVirtualization:
25  * For additional details and support contact developer@sierraware.com.
26  * Additional documentation can be found at www.openvirtualization.org
27  *
28  * Copyright (C) 2011 SierraWare
29  *
30  * This library is free software; you can redistribute it and/or
31  * modify it under the terms of the GNU General Public License
32  * as published by the Free Software Foundation; either version 2
33  * of the License, or (at your option) any later version.
34  *
35  * This program is distributed in the hope that it will be useful,
36  * but WITHOUT ANY WARRANTY; without even the implied warranty of
37  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38  * GNU General Public License for more details.
39  *
40  * You should have received a copy of the GNU General Public License
41  * along with this program; if not, write to the Free Software
42  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
43  *
44  * Header for Non secure Kernel Loader information
45  */
46 
47 #ifndef NSKINFO_H
48 #define NSKINFO_H
49 
50 #include <sw_types.h>
51 
52 /* Boot information on non secure kernel */
53 struct nsk_boot_info {
57  int nskbi_initrd_flag; /* Setting this flag loads initrd */
61 };
62 
70 extern int nsk_boot(struct nsk_boot_info *ni);
71 
79 int nsk_load(struct nsk_boot_info *ni);
80 
81 #endif
u32 nskbi_initrd_la
Definition: nsk_boot.h:59
int nsk_boot(struct nsk_boot_info *ni)
u32 nskbi_loadaddr
Definition: nsk_boot.h:55
u32 nskbi_size
Definition: nsk_boot.h:56
u32 nskbi_initrd_size
Definition: nsk_boot.h:60
int nsk_load(struct nsk_boot_info *ni)
Loads the non-secure kernel by getting the boot info.
Definition: nsk_loader.c:53
int nskbi_initrd_flag
Definition: nsk_boot.h:57
u32 nskbi_initrd_sa
Definition: nsk_boot.h:58
Definition: nsk_boot.h:53
u32 nskbi_srcaddr
Definition: nsk_boot.h:54