Remove unused pt_entry_ts. Remove an unneeded semicolon.

This commit is contained in:
Alan Cox 2004-06-19 19:09:08 +00:00
parent 7d475e356f
commit 785f2cdf57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130738
2 changed files with 8 additions and 17 deletions

View File

@ -196,13 +196,11 @@ int pmap_pagedaemon_waken;
*/
pt_entry_t *CMAP1 = 0;
caddr_t CADDR1 = 0;
static pt_entry_t *msgbufmap;
struct msgbuf *msgbufp = 0;
/*
* Crashdump maps.
*/
static pt_entry_t *pt_crashdumpmap;
static caddr_t crashdumpmap;
static PMAP_INLINE void free_pv_entry(pv_entry_t pv);
@ -441,7 +439,7 @@ pmap_bootstrap(firstaddr)
vm_paddr_t *firstaddr;
{
vm_offset_t va;
pt_entry_t *pte;
pt_entry_t *pte, *unused;
avail_start = *firstaddr;
@ -493,14 +491,12 @@ pmap_bootstrap(firstaddr)
/*
* Crashdump maps.
*/
SYSMAP(caddr_t, pt_crashdumpmap, crashdumpmap, MAXDUMPPGS);
SYSMAP(caddr_t, unused, crashdumpmap, MAXDUMPPGS)
/*
* msgbufp is used to map the system message buffer.
* XXX msgbufmap is not used.
*/
SYSMAP(struct msgbuf *, msgbufmap, msgbufp,
atop(round_page(MSGBUF_SIZE)))
SYSMAP(struct msgbuf *, unused, msgbufp, atop(round_page(MSGBUF_SIZE)))
virtual_avail = va;

View File

@ -216,17 +216,15 @@ int pmap_pagedaemon_waken;
* All those kernel PT submaps that BSD is so fond of
*/
pt_entry_t *CMAP1 = 0;
static pt_entry_t *CMAP2, *CMAP3, *ptmmap;
static pt_entry_t *CMAP2, *CMAP3;
caddr_t CADDR1 = 0, ptvmmap = 0;
static caddr_t CADDR2, CADDR3;
static struct mtx CMAPCADDR12_lock;
static pt_entry_t *msgbufmap;
struct msgbuf *msgbufp = 0;
/*
* Crashdump maps.
*/
static pt_entry_t *pt_crashdumpmap;
static caddr_t crashdumpmap;
#ifdef SMP
@ -308,7 +306,7 @@ pmap_bootstrap(firstaddr, loadaddr)
vm_paddr_t loadaddr;
{
vm_offset_t va;
pt_entry_t *pte;
pt_entry_t *pte, *unused;
int i;
/*
@ -368,20 +366,17 @@ pmap_bootstrap(firstaddr, loadaddr)
/*
* Crashdump maps.
*/
SYSMAP(caddr_t, pt_crashdumpmap, crashdumpmap, MAXDUMPPGS);
SYSMAP(caddr_t, unused, crashdumpmap, MAXDUMPPGS)
/*
* ptvmmap is used for reading arbitrary physical pages via /dev/mem.
* XXX ptmmap is not used.
*/
SYSMAP(caddr_t, ptmmap, ptvmmap, 1)
SYSMAP(caddr_t, unused, ptvmmap, 1)
/*
* msgbufp is used to map the system message buffer.
* XXX msgbufmap is not used.
*/
SYSMAP(struct msgbuf *, msgbufmap, msgbufp,
atop(round_page(MSGBUF_SIZE)))
SYSMAP(struct msgbuf *, unused, msgbufp, atop(round_page(MSGBUF_SIZE)))
/*
* ptemap is used for pmap_pte_quick