Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/amd64/pmap.c
Show First 20 Lines • Show All 385 Lines • ▼ Show 20 Lines | |||||
static struct rwlock pv_list_locks[NPV_LIST_LOCKS]; | static struct rwlock pv_list_locks[NPV_LIST_LOCKS]; | ||||
static u_long pv_invl_gen[NPV_LIST_LOCKS]; | static u_long pv_invl_gen[NPV_LIST_LOCKS]; | ||||
static struct md_page *pv_table; | static struct md_page *pv_table; | ||||
static struct md_page pv_dummy; | static struct md_page pv_dummy; | ||||
/* | /* | ||||
* All those kernel PT submaps that BSD is so fond of | * All those kernel PT submaps that BSD is so fond of | ||||
*/ | */ | ||||
pt_entry_t *CMAP1 = 0; | pt_entry_t *CMAP1 = NULL; | ||||
caddr_t CADDR1 = 0; | caddr_t CADDR1 = 0; | ||||
static vm_offset_t qframe = 0; | static vm_offset_t qframe = 0; | ||||
static struct mtx qframe_mtx; | static struct mtx qframe_mtx; | ||||
static int pmap_flags = PMAP_PDE_SUPERPAGE; /* flags for x86 pmaps */ | static int pmap_flags = PMAP_PDE_SUPERPAGE; /* flags for x86 pmaps */ | ||||
int pmap_pcid_enabled = 1; | int pmap_pcid_enabled = 1; | ||||
SYSCTL_INT(_vm_pmap, OID_AUTO, pcid_enabled, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, | SYSCTL_INT(_vm_pmap, OID_AUTO, pcid_enabled, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, | ||||
▲ Show 20 Lines • Show All 6,897 Lines • Show Last 20 Lines |