SCCS-vsn: sys/kern/subr_rmap.c 4.8
SCCS-vsn: sys/kern/subr_rmap.c.sav 4.8
SCCS-vsn: sys/kern/sys_generic.c 5.21
SCCS-vsn: sys/kern/uipc_mbuf.c 1.40
SCCS-vsn: sys/kern/uipc_socket.c 4.60
SCCS-vsn: sys/vm/vm_swap.c 4.11
SCCS-vsn: sys/vax/vax/conf.c 4.60
SCCS-vsn: sys/vax/vax/machdep.c 4.67
-/* subr_rmap.c 4.7 82/10/21 */
+/* subr_rmap.c 4.8 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
char *name;
int mapsize;
{
char *name;
int mapsize;
{
-/* subr_rmap.c.sav 4.7 82/10/21 */
+/* subr_rmap.c.sav 4.8 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
*/
rminit(mp, size, addr, name, mapsize)
register struct map *mp;
char *name;
int mapsize;
{
char *name;
int mapsize;
{
-/* sys_generic.c 5.20 82/10/21 */
+/* sys_generic.c 5.21 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
- (void) uiomove(bp->b_un.b_addr+on, n, rw, uio);
+ uiomove(bp->b_un.b_addr+on, n, rw, uio);
if (rw == UIO_READ) {
if (n + on == bsize || uio->uio_offset == ip->i_size)
bp->b_flags |= B_AGE;
if (rw == UIO_READ) {
if (n + on == bsize || uio->uio_offset == ip->i_size)
bp->b_flags |= B_AGE;
-/* uipc_mbuf.c 1.39 82/10/21 */
+/* uipc_mbuf.c 1.40 82/10/21 */
#include "../h/param.h"
#include "../h/dir.h"
#include "../h/param.h"
#include "../h/dir.h"
npg = ncl * CLSIZE;
s = splimp(); /* careful: rmalloc isn't reentrant */
npg = ncl * CLSIZE;
s = splimp(); /* careful: rmalloc isn't reentrant */
- mbx = rmalloc(mbmap, npg);
+ mbx = rmalloc(mbmap, (long)npg);
splx(s);
if (mbx == 0)
return (0);
splx(s);
if (mbx == 0)
return (0);
-/* uipc_socket.c 4.59 82/10/21 */
+/* uipc_socket.c 4.60 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
if (len > m->m_len)
len = m->m_len;
error =
if (len > m->m_len)
len = m->m_len;
error =
- (void) uiomove(mtod(m, caddr_t), (int)len, UIO_READ, uio);
+ uiomove(mtod(m, caddr_t), (int)len, UIO_READ, uio);
m = m_free(m);
} while (uio->uio_resid && error == 0 && m);
if (m)
m = m_free(m);
} while (uio->uio_resid && error == 0 && m);
if (m)
len = m->m_len - moff;
splx(s);
error =
len = m->m_len - moff;
splx(s);
error =
- (void) uiomove(mtod(m, caddr_t) + moff, (int)len, UIO_READ, uio);
+ uiomove(mtod(m, caddr_t) + moff, (int)len, UIO_READ, uio);
s = splnet();
if (len == m->m_len) {
eor = (int)m->m_act;
s = splnet();
if (len == m->m_len) {
eor = (int)m->m_act;
-/* conf.c 4.59 82/10/21 */
+/* conf.c 4.60 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
nodev, nodev, nodev, 0,
nodev,
#endif
nodev, nodev, nodev, 0,
nodev,
#endif
- nodev, nodev, nodev, nodev, /*9*/
- nodev, nodev, nodev, 0,
- nodev,
+ udopen, nulldev, udread, udwrite, /*9*/
+ udioctl, nodev, udreset, 0,
+ seltrue,
vaopen, vaclose, nodev, vawrite, /*10*/
vaioctl, nulldev, vareset, 0,
vaselect,
vaopen, vaclose, nodev, vawrite, /*10*/
vaioctl, nulldev, vareset, 0,
vaselect,
-/* machdep.c 4.66 82/10/20 */
+/* machdep.c 4.67 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
meminit(unixsize, maxmem);
maxmem = freemem;
printf("avail mem = %d\n", ctob(maxmem));
meminit(unixsize, maxmem);
maxmem = freemem;
printf("avail mem = %d\n", ctob(maxmem));
- rminit(kernelmap, USRPTSIZE, 1, "usrpt", nproc);
- rminit(mbmap, (nmbclusters - 1) * CLSIZE, CLSIZE, "mbclusters",
- nmbclusters/4);
+ rminit(kernelmap, (long)USRPTSIZE, (long)1,
+ "usrpt", nproc);
+ rminit(mbmap, (long)((nmbclusters - 1) * CLSIZE), (long)CLSIZE,
+ "mbclusters", nmbclusters/4);
/*
* Configure the system.
/*
* Configure the system.
-/* vm_swap.c 4.10 82/10/21 */
+/* vm_swap.c 4.11 82/10/21 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
* hunk which needs special treatment anyways.
*/
argdev = swdevt[0].sw_dev;
* hunk which needs special treatment anyways.
*/
argdev = swdevt[0].sw_dev;
- rminit(argmap, blk/2-CLSIZE, CLSIZE,
+ rminit(argmap, (long)(blk/2-CLSIZE), (long)CLSIZE,
"argmap", ARGMAPSIZE);
/*
* First of all chunks... initialize the swapmap
* the second half of the hunk.
*/
"argmap", ARGMAPSIZE);
/*
* First of all chunks... initialize the swapmap
* the second half of the hunk.
*/
- rminit(swapmap, blk/2, blk/2, "swap", nswapmap);
+ rminit(swapmap, (long)blk/2, (long)blk/2,
+ "swap", nswapmap);
} else
rmfree(swapmap, blk, vsbase);
}
} else
rmfree(swapmap, blk, vsbase);
}