add a pmap_kernel() function
This commit is contained in:
parent
6db422de7f
commit
b2c0b0a0c8
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pmap.c 7.12 (Berkeley) 10/24/92
|
||||
* $Id: pmap.c,v 1.2 1993/10/15 02:57:27 deraadt Exp $
|
||||
* $Id: pmap.c,v 1.3 1994/01/16 00:58:07 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1279,6 +1279,17 @@ pmap_collect(pmap)
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Routine: pmap_kernel
|
||||
* Function:
|
||||
* Returns the physical map handle for the kernel.
|
||||
*/
|
||||
pmap_t
|
||||
pmap_kernel()
|
||||
{
|
||||
return (kernel_pmap);
|
||||
}
|
||||
|
||||
/*
|
||||
* pmap_zero_page zeros the specified (machine independent)
|
||||
* page.
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pmap.c 7.12 (Berkeley) 10/24/92
|
||||
* $Id: pmap.c,v 1.2 1993/10/15 02:57:27 deraadt Exp $
|
||||
* $Id: pmap.c,v 1.3 1994/01/16 00:58:07 deraadt Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1279,6 +1279,17 @@ pmap_collect(pmap)
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Routine: pmap_kernel
|
||||
* Function:
|
||||
* Returns the physical map handle for the kernel.
|
||||
*/
|
||||
pmap_t
|
||||
pmap_kernel()
|
||||
{
|
||||
return (kernel_pmap);
|
||||
}
|
||||
|
||||
/*
|
||||
* pmap_zero_page zeros the specified (machine independent)
|
||||
* page.
|
||||
|
Loading…
Reference in New Issue
Block a user