mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Remove ptmmap and ptvmmap. They are unused on amd64.
This commit is contained in:
parent
8c9b7b2c84
commit
803e5b9ccc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127803
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user