Make this compile with gcc.

Submitted by: royger@
This commit is contained in:
Warner Losh 2014-04-05 22:43:18 +00:00
parent 3e5a6bd16d
commit b7df74ee5a
3 changed files with 2 additions and 4 deletions

View file

@ -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)
{

View file

@ -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>

View file

@ -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 {