Allow vmparam.h to be included from assembly files on arm64.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2016-04-06 14:08:10 +00:00
parent 4be58cba48
commit c7d4b461b3
5 changed files with 9 additions and 4 deletions

View File

@ -33,6 +33,8 @@ __FBSDID("$FreeBSD$");
#include <sys/errno.h>
#include <machine/vmparam.h>
#include "assym.s"
/*

View File

@ -37,9 +37,6 @@ __FBSDID("$FreeBSD$");
#include <machine/pcb.h>
#include <machine/vmparam.h>
ASSYM(KERNBASE, KERNBASE);
ASSYM(VM_MAXUSER_ADDRESS, VM_MAXUSER_ADDRESS);
ASSYM(TDF_ASTPENDING, TDF_ASTPENDING);
ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED);

View File

@ -34,6 +34,7 @@
#include <machine/hypervisor.h>
#include <machine/param.h>
#include <machine/pte.h>
#include <machine/vmparam.h>
#define VIRT_BITS 48

View File

@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
#include <machine/setjmp.h>
#include <machine/param.h>
#include <machine/vmparam.h>
#include "assym.s"

View File

@ -160,7 +160,6 @@
#define DMAP_MIN_ADDRESS (0xffffffc000000000UL)
#define DMAP_MAX_ADDRESS (0xffffffdfffffffffUL)
extern vm_paddr_t dmap_phys_base;
#define DMAP_MIN_PHYSADDR (dmap_phys_base)
#define DMAP_MAX_PHYSADDR (dmap_phys_base + (DMAP_MAX_ADDRESS - DMAP_MIN_ADDRESS))
@ -229,10 +228,15 @@ extern vm_paddr_t dmap_phys_base;
#define UMA_MD_SMALL_ALLOC
#ifndef LOCORE
extern vm_paddr_t dmap_phys_base;
extern u_int tsb_kernel_ldd_phys;
extern vm_offset_t vm_max_kernel_address;
extern vm_offset_t init_pt_va;
#endif
#define ZERO_REGION_SIZE (64 * 1024) /* 64KB */
#endif /* !_MACHINE_VMPARAM_H_ */