projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_rmap.c.sav
diff --git
a/usr/src/sys/kern/subr_rmap.c.sav
b/usr/src/sys/kern/subr_rmap.c.sav
index
ff11cb2
..
b6abab1
100644
(file)
--- a/
usr/src/sys/kern/subr_rmap.c.sav
+++ b/
usr/src/sys/kern/subr_rmap.c.sav
@@
-1,4
+1,4
@@
-/* subr_rmap.c.sav 4.
5 82/04/1
1 */
+/* subr_rmap.c.sav 4.
8 82/10/2
1 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-6,8
+6,8
@@
#include "../h/dir.h"
#include "../h/user.h"
#include "../h/proc.h"
#include "../h/dir.h"
#include "../h/user.h"
#include "../h/proc.h"
-#include "../h/mtpr.h"
#include "../h/text.h"
#include "../h/text.h"
+#include "../h/kernel.h"
/*
* Resource map handling routines.
/*
* Resource map handling routines.
@@
-43,7
+43,7
@@
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
-
int
size, addr;
+
long
size, addr;
char *name;
int mapsize;
{
char *name;
int mapsize;
{
@@
-79,8
+79,10
@@
rminit(mp, size, addr, name, mapsize)
* This routine knows about the interleaving of the swapmap
* and handles that.
*/
* This routine knows about the interleaving of the swapmap
* and handles that.
*/
+long
rmalloc(mp, size)
register struct map *mp;
rmalloc(mp, size)
register struct map *mp;
+ long size;
{
register struct mapent *ep = (struct mapent *)(mp+1);
register int addr;
{
register struct mapent *ep = (struct mapent *)(mp+1);
register int addr;
@@
-141,7
+143,7
@@
rmalloc(mp, size)
*/
rmfree(mp, size, addr)
struct map *mp;
*/
rmfree(mp, size, addr)
struct map *mp;
-
register int
size, addr;
+
long
size, addr;
{
struct mapent *firstbp;
register struct mapent *bp;
{
struct mapent *firstbp;
register struct mapent *bp;