mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make this compile with gcc.
Submitted by: royger@
This commit is contained in:
parent
3e5a6bd16d
commit
b7df74ee5a
3 changed files with 2 additions and 4 deletions
|
|
@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
|
||||
#include <xen/hypervisor.h>
|
||||
#include <xen/xenstore/xenstorevar.h>
|
||||
#include <machine/xen/xenvar.h>
|
||||
#include <machine/xen/xenfunc.h>
|
||||
#include <machine/xen/xenpmap.h>
|
||||
|
|
@ -710,9 +711,6 @@ char *bootmem_start, *bootmem_current, *bootmem_end;
|
|||
pteinfo_t *pteinfo_list;
|
||||
void initvalues(start_info_t *startinfo);
|
||||
|
||||
struct xenstore_domain_interface;
|
||||
extern struct xenstore_domain_interface *xen_store;
|
||||
|
||||
void *
|
||||
bootmem_alloc(unsigned int size)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include <xen/xen-os.h>
|
||||
#include <xen/hypervisor.h>
|
||||
#include <xen/xenstore/xenstorevar.h>
|
||||
|
||||
#include <xen/interface/vcpu.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ extern shared_info_t *HYPERVISOR_shared_info;
|
|||
extern start_info_t *HYPERVISOR_start_info;
|
||||
|
||||
/* XXX: we need to get rid of this and use HYPERVISOR_start_info directly */
|
||||
extern struct xenstore_domain_interface *xen_store;
|
||||
extern char *console_page;
|
||||
|
||||
enum xen_domain_type {
|
||||
|
|
|
|||
Loading…
Reference in a new issue