Add change forgotten in r263475. Make dmaplimit accessible outside
amd64/pmap.c. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
620ee5d386
commit
1fb1da0366
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263498
@ -321,7 +321,7 @@ SYSCTL_INT(_machdep, OID_AUTO, nkpt, CTLFLAG_RD, &nkpt, 0,
|
||||
"Number of kernel page table pages allocated on bootup");
|
||||
|
||||
static int ndmpdp;
|
||||
static vm_paddr_t dmaplimit;
|
||||
vm_paddr_t dmaplimit;
|
||||
vm_offset_t kernel_vm_end = VM_MIN_KERNEL_ADDRESS;
|
||||
pt_entry_t pg_nx;
|
||||
|
||||
|
@ -369,6 +369,7 @@ extern vm_paddr_t phys_avail[];
|
||||
extern vm_paddr_t dump_avail[];
|
||||
extern vm_offset_t virtual_avail;
|
||||
extern vm_offset_t virtual_end;
|
||||
extern vm_paddr_t dmaplimit;
|
||||
|
||||
#define pmap_page_get_memattr(m) ((vm_memattr_t)(m)->md.pat_mode)
|
||||
#define pmap_page_is_write_mapped(m) (((m)->aflags & PGA_WRITEABLE) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user