SCCS-vsn: sys/tahoe/tahoe/autoconf.c 1.9
register int *ip;
extern caddr_t Sysbase;
register int *ip;
extern caddr_t Sysbase;
- vbafind(numvba, vmem, VMEMmap);
+ vbafind(numvba, (caddr_t)&vmem, VMEMmap);
numvba++;
/*
* Write protect the scb. It is strange
numvba++;
/*
* Write protect the scb. It is strange
struct vba_driver *udp;
int i, (**ivec)();
caddr_t valloc, zmemall();
struct vba_driver *udp;
int i, (**ivec)();
caddr_t valloc, zmemall();
- extern long cold, catcher[SCB_LASTIV*2];
+ extern long catcher[SCB_LASTIV*2];
#ifdef lint
br = 0; cvec = 0;
#ifdef lint
br = 0; cvec = 0;
* Make the controllers accessible at physical address phys
* by mapping kernel ptes starting at pte.
*/
* Make the controllers accessible at physical address phys
* by mapping kernel ptes starting at pte.
*/
- vbaccess(memmap, VBIOBASE, VBIOSIZE);
+ vbaccess(memmap, (caddr_t)VBIOBASE, VBIOSIZE);
printf("vba%d at %x\n", vban, VBIOBASE);
/*
* Setup scb device entries to point into catcher array.
printf("vba%d at %x\n", vban, VBIOBASE);
/*
* Setup scb device entries to point into catcher array.
* see if it is really there, and if it is record it and
* then go looking for slaves.
*/
* see if it is really there, and if it is record it and
* then go looking for slaves.
*/
-#define vbaddr(off) (u_short *)((int)vumem + vboff(off))
+#define vbaddr(off) (u_short *)(vumem + vboff(off))
for (um = vbminit; udp = um->um_driver; um++) {
if (um->um_vbanum != vban && um->um_vbanum != '?')
continue;
for (um = vbminit; udp = um->um_driver; um++) {
if (um->um_vbanum != vban && um->um_vbanum != '?')
continue;
* Warn if the new allocation overlaps a previous allocation.
*/
csralloc(valloc, addr, size)
* Warn if the new allocation overlaps a previous allocation.
*/
csralloc(valloc, addr, size)
+ caddr_t valloc;
+ long addr;
register int size;
{
register caddr_t p;
register int size;
{
register caddr_t p;