diff options
-rw-r--r-- | sys/amd64/amd64/pmap.c | 9 | ||||
-rw-r--r-- | sys/amd64/include/pmap.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 831f3b9..1eb2af9 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -200,8 +200,7 @@ int pmap_pagedaemon_waken; * All those kernel PT submaps that BSD is so fond of */ pt_entry_t *CMAP1 = 0; -static pt_entry_t *ptmmap; -caddr_t CADDR1 = 0, ptvmmap = 0; +caddr_t CADDR1 = 0; static pt_entry_t *msgbufmap; struct msgbuf *msgbufp = 0; @@ -507,12 +506,6 @@ pmap_bootstrap(firstaddr) SYSMAP(caddr_t, pt_crashdumpmap, crashdumpmap, MAXDUMPPGS); /* - * ptvmmap is used for reading arbitrary physical pages via /dev/mem. - * XXX ptmmap is not used. - */ - SYSMAP(caddr_t, ptmmap, ptvmmap, 1) - - /* * msgbufp is used to map the system message buffer. * XXX msgbufmap is not used. */ diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index 7783033..9c4d0c7 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -263,7 +263,6 @@ extern pt_entry_t *CMAP1; extern vm_paddr_t avail_end; extern vm_paddr_t avail_start; extern vm_paddr_t phys_avail[]; -extern char *ptvmmap; /* poor name! */ extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end; |