Remove ptmmap and ptvmmap. They are unused on amd64.

This commit is contained in:
Alan Cox 2004-04-03 20:53:50 +00:00
parent 8c9b7b2c84
commit 803e5b9ccc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127803
2 changed files with 1 additions and 9 deletions

View File

@ -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;
@ -506,12 +505,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.

View File

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