diff -r src/sys/stand/gets.c ../src/sys/stand/gets.c
< * @(#)gets.c 7.4 (Berkeley) 9/12/88
> * @(#)gets.c 7.3 (Berkeley) 6/29/88
diff -r src/sys/stand/ls.c ../src/sys/stand/ls.c
< * @(#)ls.c 7.5 (Berkeley) 3/21/89
> * @(#)ls.c 7.4 (Berkeley) 6/29/88
< if ((fd = getfile("ls", 0)) == -1)
< ip = &iob[fd - 3].i_ino;
< if ((ip->i_mode & IFMT) != IFDIR) {
< printf("ls: not a directory\n");
< printf("ls: zero length directory\n");
> ip = &iob[fd - 3].i_ino;
> if ((ip->i_mode & IFMT) != IFDIR)
> _stop("ls: not a directory");
> _stop("ls: zero length directory");
< printf("%s: ", prompt);
< if (buf[0] == CTRL('d') && buf[1] == 0)
< } while ((fd = open(buf, mode)) <= 0);
< printf("\ninode\tname\n");
> printf("\nname->inode\n");
< if (((DP *)dp)->d_namlen > MAXNAMLEN+1) {
< printf("Corrupt file name length! Run fsck soon!\n");
< printf("%d\t%s\n", ((DP *)dp)->d_ino,
> if (((DP *)dp)->d_reclen > DIRSIZ(((DP *)dp)))
> if (((DP *)dp)->d_namlen > MAXNAMLEN+1)
> _stop("Corrupt file name length! Run fsck soon!\n");
> printf("%s->%d\n", ((DP *)dp)->d_name,
diff -r src/sys/stand/saio.h ../src/sys/stand/saio.h
< * Copyright (c) 1982, 1988 The Regents of the University of California.
> * Copyright (c) 1982, 1988 Regents of the University of California.
> * All rights reserved. The Berkeley software License Agreement
> * specifies the terms and conditions for redistribution.
< * Redistribution and use in source and binary forms are permitted
< * provided that the above copyright notice and this paragraph are
< * duplicated in all such forms and that any documentation,
< * advertising materials, and other materials related to such
< * distribution and use acknowledge that the software was developed
< * by the University of California, Berkeley. The name of the
< * University may not be used to endorse or promote products derived
< * from this software without specific prior written permission.
< * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
< * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
< * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
> * @(#)saio.h 7.3 (Berkeley) 3/2/88
< #define UNIX "hd(6,0,0) /vmunix"
< int i_adapt; /* adapter or bus */
> int i_adapt; /* adapter */
< #define F_READ 0x0001 /* file opened for reading */
< #define F_WRITE 0x0002 /* file opened for writing */
< #define F_ALLOC 0x0004 /* buffer allocated */
< #define F_FILE 0x0008 /* file instead of device */
< #define F_NBSF 0x0010 /* no bad sector forwarding */
< #define F_ECCLM 0x0020 /* limit # of bits in ecc correction */
< #define F_SSI 0x0040 /* set skip sector inhibit */
< #define F_SEVRE 0x0080 /* Severe burnin (no retries, no ECC) */
> #define F_READ 0x1 /* file opened for reading */
> #define F_WRITE 0x2 /* file opened for writing */
> #define F_ALLOC 0x4 /* buffer allocated */
> #define F_FILE 0x8 /* file instead of device */
> #define F_NBSF 0x10 /* no bad sector forwarding */
> #define F_ECCLM 0x20 /* limit # of bits in ecc correction */
> #define F_SSI 0x40 /* set skip sector inhibit */
> #define F_SEVRE 0x80 /* Severe burnin (no retries, no ECC) */
> * Request codes. Must be the same as F_XXX above
diff -r src/sys/tahoe/autoconf.c ../src/sys/tahoe/autoconf.c
< ui->ui_addr = (caddr_t)reg;
> ui->ui_addr = (caddr_t)reg;
Only in src/sys/tahoe: autoconf.c.nbsd
diff -r src/sys/tahoe/conf.c ../src/sys/tahoe/conf.c
< * @(#)conf.c 7.4 (Berkeley) 5/1/89
> * @(#)conf.c 7.3 (Berkeley) 6/29/88
< int hdopen(),hdclose(),hdstrategy(),hdioctl();
< #define hdstrategy nodev
< { hdopen, hdclose, hdstrategy, hdioctl, /*2*/
> { nodev, nulldev, nodev, nodev, /*2*/
< hdopen, hdclose, rawread, rawwrite, /*6*/
< hdioctl, nodev, nulldev, NULL,
< seltrue, nodev, hdstrategy,
> nodev, nulldev, nodev, nodev, /*6*/
> nodev, nodev, nulldev, NULL,
diff -r src/sys/tahoe/genassym.c ../src/sys/tahoe/genassym.c
< static char sccsid[] = "@(#)genassym.c 7.3 (Berkeley) 9/24/88";
> static char sccsid[] = "@(#)genassym.c 7.2 (Berkeley) 6/29/88";
< printf("#define\tMCLBYTES %d\n", MCLBYTES);
diff -r src/sys/tahoe/locore.s ../src/sys/tahoe/locore.s
< * @(#)locore.s 7.6 (Berkeley) 5/1/89
> * @(#)locore.s 7.2 (Berkeley) 7/6/88
< SYSMAP(Mbmap ,mbutl ,NMBCLUSTERS*MCLBYTES/NBPG+CLSIZE )
> SYSMAP(Mbmap ,mbutl ,NMBCLUSTERS*CLSIZE+CLSIZE )
< ADDMAP( NHDC*(MAXPHYS/NBPG+CLSIZE) )
< ADDMAP( NVX * 16384/NBPG )
< ADDMAP( NHDC*(MAXPHYS/NBPG+CLSIZE) )
< l0: pushab b`init1-l1(pc)
> l0: pushab b`init-l1(pc)
< l2: pushab b`init2-l3(pc)
< init1: .asciz "/sbin/init"
< init2: .asciz "/etc/init"
> init: .asciz "/etc/init"
< argv1: .long init1+6-_icode
> argv: .long init+5-_icode
< argv2: .long init2+5-_icode
< .long _initflags-_icode
< 2: movl r2,_scb+SCB_BUSERR
< * wbadaddr(addr, len, value)
< * see if write of value to addr with a len type instruction causes
< * len is length of access (1=byte, 2=short, 4=long)
< * r0 = 0 means good(exists); r0 =1 means does not exist.
< movl _scb+SCB_BUSERR,r2
< movab 9f,_scb+SCB_BUSERR
< bbc $0,r4,1f; movb 15(fp), (r3)
< 1: bbc $1,r4,1f; movw 14(fp), (r3)
< 1: bbc $2,r4,1f; movl 12(fp), (r3)
< 1: clrl r0 # made it w/o machine checks
Only in src/sys/tahoe: locore.s.okeeffe
diff -r src/sys/tahoeif/if_ace.c ../src/sys/tahoeif/if_ace.c
< * This code is derived from software contributed to Berkeley by
< * Computer Consoles Inc.
< * @(#)if_ace.c 7.5 (Berkeley) 4/25/89
> * @(#)if_ace.c 7.2 (Berkeley) 6/29/88
< #include "machine/cpu.h"
< #include "machine/pte.h"
> #include "../machine/cpu.h"
> #include "../machine/pte.h"
< int aceprobe(), aceattach(), acerint(), acecint(), acestart();
> int aceprobe(), aceattach(), acerint(), acecint();
< ifp->if_output = ether_output;
< ifp->if_start = acestart;
> ifp->if_output = aceoutput;
< ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
> ifp->if_flags = IFF_BROADCAST;
> register struct ifnet *ifp = &is->is_if;
< if (is->is_if.if_addrlist == (struct ifaddr *)0)
> if (ifp->if_addrlist == (struct ifaddr *)0)
< if ((is->is_if.if_flags & IFF_RUNNING) == 0) {
> if ((ifp->if_flags & IFF_RUNNING) == 0) {
< register struct ifnet *ifp;
> register struct ace_softc *is = &ace_softc[unit];
< #define is ((struct ace_softc *)ifp)
> if (is->is_flags & ACEF_OACTIVE)
> is->is_flags |= ACEF_OACTIVE;
< ifp->if_flags |= IFF_OACTIVE;
> is->is_flags &= ~ACEF_OACTIVE;
< IF_DEQUEUE(&ifp->if_snd, m);
> IF_DEQUEUE(&is->is_if.if_snd, m);
< ifp->if_flags &= ~IFF_OACTIVE;
> is->is_flags &= ~ACEF_OACTIVE;
< len = aceput(txs->tx_data, m);
> len = aceput(unit, txs->tx_data, m);
> is->is_if.if_opackets++;
< * information to be at the front.
> * information to be at the front, but we still have to drop
> * the type and length which are at the front of any trailer data.
> ifp = *(mtod(m, struct ifnet **));
> m->m_off += 2 * sizeof (u_short);
> m->m_len -= 2 * sizeof (u_short);
> *(mtod(m, struct ifnet **)) = ifp;
< * Routine to copy from mbuf chain to transmit buffer on the VERSAbus
< * If packet size is less than the minimum legal size,
< * the buffer is expanded. We probably should zero out the extra
< * bytes for security, but that would slow things down.
> * Ethernet output routine.
> * Encapsulate a packet of type family for the local net.
> * Use trailer local net encapsulation if enough data in first
> * packet leaves a multiple of 512 bytes of data in remainder.
> aceoutput(ifp, m0, dst)
< register u_char *bp, *mcp;
< register short *s1, *s2;
< register struct mbuf *mp;
> register struct ace_softc *is = &ace_softc[ifp->if_unit];
> register struct mbuf *m = m0;
> register struct ether_header *ace;
> struct mbuf *mcopy = (struct mbuf *)0;
> int type, s, error, usetrailers;
< total = mp->m_pkthdr.len;
< for (mp = m; mp; mp = mp->m_next) {
< mcp = mtod(mp, u_char *);
< if (((int)mcp & 01) && ((int)bp & 01)) {
< /* source & destination at odd addresses */
> if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) {
> switch (dst->sa_family) {
> idst = ((struct sockaddr_in *)dst)->sin_addr;
> if (!arpresolve(&is->is_ac, m, &idst, edst, &usetrailers))
> return (0); /* if not yet resolved */
> if (!bcmp((caddr_t)edst, (caddr_t)etherbroadcastaddr,
> mcopy = m_copy(m, 0, (int)M_COPYALL);
> off = ntohs((u_short)mtod(m, struct ip *)->ip_len) - m->m_len;
> if (usetrailers && off > 0 && (off & 0x1ff) == 0 &&
> m->m_off >= MMINOFF + 2 * sizeof (u_short)) {
> type = ETHERTYPE_TRAIL + (off>>9);
> m->m_off -= 2 * sizeof (u_short);
> m->m_len += 2 * sizeof (u_short);
> *mtod(m, u_short *) = htons((u_short)ETHERTYPE_IP);
> *(mtod(m, u_short *) + 1) = htons((u_short)m->m_len);
< if (len > 1 && (((int)mcp & 01)==0) && (((int)bp & 01)==0)) {
> bcopy((caddr_t)&(((struct sockaddr_ns *)dst)->sns_addr.x_host),
> (caddr_t)edst, sizeof (edst));
> if (!bcmp((caddr_t)edst, (caddr_t)&ns_broadhost,sizeof(edst)))
> mcopy = m_copy(m, 0, (int)M_COPYALL);
> else if (!bcmp((caddr_t)edst, (caddr_t)&ns_thishost,
> return(looutput(&loif, m, dst));
> ace = (struct ether_header *)dst->sa_data;
> bcopy((caddr_t)ace->ether_dhost, (caddr_t)edst, sizeof (edst));
> type = ace->ether_type;
< len >>= 1; /* count # of shorts */
< len = l; /* # remaining bytes */
> log(LOG_ERR, "ace%d: can't handle af%d\n",
> ifp->if_unit, dst->sa_family);
> * Packet to be sent as trailer: move first packet
> * (control information) to end of chain.
> * Add local net header. If no space in first mbuf,
> if (m->m_off > MMAXOFF ||
> MMINOFF + sizeof (struct ether_header) > m->m_off) {
> m = m_get(M_DONTWAIT, MT_HEADER);
> m->m_len = sizeof (struct ether_header);
> m->m_off -= sizeof (struct ether_header);
> m->m_len += sizeof (struct ether_header);
> ace = mtod(m, struct ether_header *);
> bcopy((caddr_t)edst, (caddr_t)ace->ether_dhost, sizeof (edst));
> bcopy((caddr_t)is->is_addr, (caddr_t)ace->ether_shost,
> ace->ether_type = htons((u_short)type);
> * Queue message on interface, and start output if interface
> if (IF_QFULL(&ifp->if_snd)) {
> IF_ENQUEUE(&ifp->if_snd, m);
> acestart(ifp->if_unit);
> return (mcopy ? looutput(&loif, mcopy, dst) : 0);
> * Routine to copy from mbuf chain to transmit buffer on the VERSAbus
> * If packet size is less than the minimum legal size,
> * the buffer is expanded. We probably should zero out the extra
> * bytes for security, but that would slow things down.
< aceget(rxbuf, totlen, off, ifp)
> aceget(rxbuf, totlen, off0, ifp)
< register struct mbuf *m;
> register struct mbuf *m;
< rxbuf += sizeof (struct ether_header);
< packet_end = cp + totlen;
< off += 2 * sizeof(u_short);
< totlen -= 2 *sizeof(u_short);
< MGETHDR(m, M_DONTWAIT, MT_DATA);
< m->m_pkthdr.rcvif = ifp;
< m->m_pkthdr.len = totlen;
> cp = rxbuf + sizeof (struct ether_header);
< MGET(m, M_DONTWAIT, MT_DATA);
< len = min(totlen, (packet_end - cp));
< if (len >= MINCLSIZE) {
< if (m->m_flags & M_EXT)
< m->m_len = len = min(len, MCLBYTES);
> MGET(m, M_DONTWAIT, MT_DATA);
> cp = rxbuf + sizeof (struct ether_header) + off;
> if (m->m_len == CLBYTES)
> m->m_len = len = MIN(len, CLBYTES);
> m->m_len = len = MIN(MLEN, len);
> m->m_len = len = MIN(MLEN, len);
> mcp = mtod(m, u_char *);
< * Place initial small packet/header at end of mbuf.
> * Prepend interface pointer to first mbuf.
< if (top == 0 && len + max_linkhdr <= m->m_len)
< m->m_data += max_linkhdr;
> *(mtod(m, struct ifnet **)) = ifp;
> ifp = (struct ifnet *)0;
< mcp = mtod(m, u_char *);
> cp = rxbuf + sizeof (struct ether_header);
< switch (ifa->ifa_addr->sa_family) {
> switch (ifa->ifa_addr.sa_family) {
diff -r src/sys/tahoeif/if_enp.c ../src/sys/tahoeif/if_enp.c
< * This code is derived from software contributed to Berkeley by
< * Computer Consoles Inc.
< * @(#)if_enp.c 7.5 (Berkeley) 4/22/89
> * @(#)if_enp.c 7.2 (Berkeley) 6/29/88
< int enpinit(), enpioctl(), enpreset(), enpoutput(), enpstart();
> int enpinit(), enpioctl(), enpreset(), enpoutput();
< ifp->if_output = ether_output;
< ifp->if_start = enpstart;
> ifp->if_output = enpoutput;
< ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
> ifp->if_flags = IFF_BROADCAST;
< enpread(&enp_softc[unit], bcbp);
> (void) enpread(&enp_softc[unit], bcbp);
> register struct ifqueue *inq;
< * information to be at the front.
> * information to be at the front, but we still have to drop
> * the type and length which are at the front of any trailer data.
< ether_input(&es->es_if, enp, m);
> ifp = *(mtod(m, struct ifnet **));
> m->m_off += 2 * sizeof (u_short);
> m->m_len -= 2 * sizeof (u_short);
> *(mtod(m, struct ifnet **)) = ifp;
> switch (enp->ether_type) {
> schednetisr(NETISR_IP);
> arpinput(&es->es_ac, m);
> schednetisr(NETISR_NS);
> * Ethernet output routine. (called by user)
> * Encapsulate a packet of type family for the local net.
> * Use trailer local net encapsulation if enough data in first
> * packet leaves a multiple of 512 bytes of data in remainder.
> * If destination is this address or broadcast, send packet to
> * loop device to kludge around the fact that 3com interfaces can't
> enpoutput(ifp, m0, dst)
> register struct enp_softc *es = &enp_softc[ifp->if_unit];
> register struct mbuf *m = m0;
> register struct ether_header *enp;
> struct mbuf *mcopy = (struct mbuf *)0;
> int type, s, error, usetrailers;
> if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) {
> switch (dst->sa_family) {
> idst = ((struct sockaddr_in *)dst)->sin_addr;
> if (!arpresolve(&es->es_ac, m, &idst, edst, &usetrailers))
> return (0); /* if not yet resolved */
> if (!bcmp((caddr_t)edst, (caddr_t)etherbroadcastaddr,
> mcopy = m_copy(m, 0, (int)M_COPYALL);
> off = ntohs((u_short)mtod(m, struct ip *)->ip_len) - m->m_len;
> if (usetrailers && off > 0 && (off & 0x1ff) == 0 &&
> m->m_off >= MMINOFF + 2 * sizeof (u_short)) {
> type = ETHERTYPE_TRAIL + (off>>9);
> m->m_off -= 2 * sizeof (u_short);
> m->m_len += 2 * sizeof (u_short);
> *mtod(m, u_short *) = htons((u_short)ETHERTYPE_IP);
> *(mtod(m, u_short *) + 1) = htons((u_short)m->m_len);
> bcopy((caddr_t)&(((struct sockaddr_ns *)dst)->sns_addr.x_host),
> (caddr_t)edst, sizeof (edst));
> if (!bcmp((caddr_t)edst, (caddr_t)&ns_broadhost, sizeof (edst)))
> mcopy = m_copy(m, 0, (int)M_COPYALL);
> else if (!bcmp((caddr_t)edst, (caddr_t)&ns_thishost,
> return (looutput(&loif, m, dst));
> enp = (struct ether_header *)dst->sa_data;
> bcopy((caddr_t)enp->ether_dhost, (caddr_t)edst, sizeof (edst));
> type = enp->ether_type;
> log(LOG_ERR, "enp%d: can't handle af%d\n",
> ifp->if_unit, dst->sa_family);
> * Packet to be sent as trailer: move first packet
> * (control information) to end of chain.
> * Add local net header. If no space in first mbuf,
> if (m->m_off > MMAXOFF ||
> MMINOFF + sizeof (struct ether_header) > m->m_off) {
> m = m_get(M_DONTWAIT, MT_HEADER);
> m->m_len = sizeof (struct ether_header);
> m->m_off -= sizeof (struct ether_header);
> m->m_len += sizeof (struct ether_header);
> enp = mtod(m, struct ether_header *);
> bcopy((caddr_t)edst, (caddr_t)enp->ether_dhost, sizeof (edst));
> bcopy((caddr_t)es->es_addr, (caddr_t)enp->ether_shost,
> enp->ether_type = htons((u_short)type);
> * Queue message on interface if possible
> if (enpput(ifp->if_unit, m)) {
> es->es_if.if_opackets++;
> return (mcopy ? looutput(&loif, mcopy, dst) : 0);
< int unit = ifp->if_unit, ret = 1;
< if (ringempty((RING *)&addr->enp_hostfree)) {
< /* ifp->if_flags |= IFF_OACTIVE; */
< IF_DEQUEUE(&ifp->if_snd, m);
< ifp->if_flags &= ~IFF_OACTIVE;
> if (ringempty((RING *)&addr->enp_hostfree))
< enpcopy(mtod(mp, u_char *), bp, len);
> mcp = mtod(mp, u_char *);
< bcbp->b_len = max(ETHERMIN+sizeof (struct ether_header), bcbp->b_len);
> bcbp->b_len = MAX(ETHERMIN+sizeof (struct ether_header), bcbp->b_len);
< enpget(rxbuf, totlen, off, ifp)
> enpget(rxbuf, totlen, off0, ifp)
> register u_char *cp, *mcp;
< rxbuf += sizeof (struct ether_header);
< packet_end = cp + totlen;
< off += 2 * sizeof(u_short);
< totlen -= 2 *sizeof(u_short);
< MGETHDR(m, M_DONTWAIT, MT_DATA);
< m->m_pkthdr.rcvif = ifp;
< m->m_pkthdr.len = totlen;
> cp = rxbuf + sizeof (struct ether_header);
< MGET(m, M_DONTWAIT, MT_DATA);
< len = min(totlen, (packet_end - cp));
< if (len >= MINCLSIZE) {
< if (m->m_flags & M_EXT)
< m->m_len = len = min(len, MCLBYTES);
> MGET(m, M_DONTWAIT, MT_DATA);
> cp = rxbuf + sizeof (struct ether_header) + off;
> if (m->m_len == CLBYTES)
> m->m_len = len = MIN(len, CLBYTES);
> m->m_len = len = MIN(MLEN, len);
> m->m_len = len = MIN(MLEN, len);
> mcp = mtod(m, u_char *);
< * Place initial small packet/header at end of mbuf.
> * Prepend interface pointer to first mbuf.
< if (top == 0 && len + max_linkhdr <= m->m_len)
< m->m_data += max_linkhdr;
> *(mtod(m, struct ifnet **)) = ifp;
> ifp = (struct ifnet *)0;
< enpcopy(cp, mtod(m, u_char *), (u_int)len);
> enpcopy(cp, mcp, (u_int)len);
> cp = rxbuf + sizeof (struct ether_header);
< switch (ifa->ifa_addr->sa_family) {
> switch (ifa->ifa_addr.sa_family) {
Only in src/sys/tahoeif: if_ex.c
Only in src/sys/tahoeif: if_exreg.h
diff -r src/sys/tahoestand/Makefile ../src/sys/tahoestand/Makefile
< # @(#)Makefile 7.10 (Berkeley) 5/1/89
> # @(#)Makefile 7.9 (Berkeley) 7/9/88
< srt0.c sys.c vd.c cy.c hd.c
> srt0.c sys.c vd.c cy.c hdc.c
> DRIVERS=cy.o vd.o hdc.o
< rm -f ${MAN} tags .depend
< for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} cleandir); done
< # for i in ${SUBDIR}; do \
< # (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install) \
> for i in ${SUBDIR}; do \
> (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install) \
> # DO NOT DELETE THIS LINE -- mkdep uses it.
> # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
> boot.o: boot.c ../machine/mtpr.h ../h/param.h /usr/include/sys/types.h
> boot.o: ../h/signal.h /usr/include/machine/trap.h
> boot.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
> boot.o: ../h/inode.h ../h/fs.h ../h/vm.h /usr/include/sys/vmparam.h
> boot.o: /usr/include/machine/vmparam.h /usr/include/sys/vmmac.h
> boot.o: /usr/include/sys/vmmeter.h /usr/include/sys/vmsystm.h ../stand/saio.h
> boot.o: ../stand/saioctl.h ../stand/saerrno.h ../h/reboot.h
> boot.o: /usr/include/a.out.h /usr/include/sys/exec.h
> conf.o: conf.c ../h/param.h /usr/include/sys/types.h ../h/signal.h
> conf.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
> conf.o: /usr/include/machine/endian.h ../h/inode.h ../h/fs.h ../stand/saio.h
> conf.o: ../stand/saioctl.h ../stand/saerrno.h
> copy.o: ../stand/copy.c
> dev.o: ../stand/dev.c ../h/param.h /usr/include/sys/types.h ../h/signal.h
> dev.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
> dev.o: /usr/include/machine/endian.h ../h/inode.h ../h/fs.h ../stand/saio.h
> dev.o: ../stand/saioctl.h ../stand/saerrno.h
> getfile.o: ../stand/getfile.c ../h/param.h /usr/include/sys/types.h
> getfile.o: ../h/signal.h /usr/include/machine/trap.h
> getfile.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
> getfile.o: ../h/inode.h ../h/fs.h ../stand/saio.h ../stand/saioctl.h
> getfile.o: ../stand/saerrno.h
> gets.o: ../stand/gets.c
> ls.o: ../stand/ls.c ../h/param.h /usr/include/sys/types.h ../h/signal.h
> ls.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
> ls.o: /usr/include/machine/endian.h ../h/inode.h ../h/dir.h ../h/fs.h
> ls.o: ../stand/saio.h ../stand/saioctl.h ../stand/saerrno.h
> prf.o: prf.c ../machine/mtpr.h ../h/param.h /usr/include/sys/types.h
> prf.o: ../h/signal.h /usr/include/machine/trap.h
> prf.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
> srt0.o: srt0.c ../machine/mtpr.h
> sys.o: ../stand/sys.c ../h/param.h /usr/include/sys/types.h ../h/signal.h
> sys.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
> sys.o: /usr/include/machine/endian.h ../h/inode.h ../h/fs.h ../h/dir.h
> sys.o: ../h/reboot.h ../stand/saio.h ../stand/saioctl.h ../stand/saerrno.h
> vd.o: vd.c ../machine/mtpr.h ../h/param.h /usr/include/sys/types.h
> vd.o: ../h/signal.h /usr/include/machine/trap.h
> vd.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
> vd.o: ../h/inode.h ../h/fs.h ../h/buf.h ../h/disklabel.h ../stand/saio.h
> vd.o: ../stand/saioctl.h ../stand/saerrno.h ../tahoevba/vdreg.h
> vd.o: ../tahoevba/vbaparam.h
> cy.o: cy.c ../machine/pte.h ../machine/mtpr.h ../h/param.h
> cy.o: /usr/include/sys/types.h ../h/signal.h /usr/include/machine/trap.h
> cy.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
> cy.o: ../h/inode.h ../h/fs.h ../stand/saio.h ../stand/saioctl.h
> cy.o: ../stand/saerrno.h ../tahoevba/cyreg.h ../tahoevba/vbaparam.h
> hdc.o: hdc.c /usr/include/machine/mtpr.h ../h/param.h ../h/types.h
> hdc.o: ../h/signal.h /usr/include/machine/trap.h ../h/../machine/machparam.h
> hdc.o: /usr/include/machine/endian.h ../h/inode.h ../h/fs.h ../h/buf.h
> hdc.o: ../h/ioctl.h ../h/ttychars.h ../h/ttydev.h ../h/disklabel.h
> hdc.o: ../stand/saio.h ../stand/saioctl.h ../stand/saerrno.h ../tahoevba/hdc.h
> # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
Only in src/sys/tahoestand: boot
diff -r src/sys/tahoestand/boot.c ../src/sys/tahoestand/boot.c
< /* boot.c 7.1 89/05/01 */
> /* boot.c 1.7 88/03/04 */
< #include "machine/mtpr.h"
> #include "../machine/mtpr.h"
< int io = 0, retry, type;
< if (read(io, (char *)&x, sizeof(x)) != sizeof(x) || N_BADMAG(x)) {
< printf("bad magic #\n");
> i = read(io, (char *)&x, sizeof x);
> (x.a_magic != 0407 && x.a_magic != 0413 && x.a_magic != 0410)) {
> printf("Bad format\n");
< printf("%ld", x.a_text);
< if (x.a_magic == ZMAGIC && lseek(io, 0x400, 0) == -1)
> printf("%d", x.a_text);
> if (x.a_magic == 0413 && lseek(io, 0x400, 0) == -1)
< if (x.a_magic == ZMAGIC || x.a_magic == NMAGIC)
> if (x.a_magic == 0413 || x.a_magic == 0410)
< printf("+%ld", x.a_data);
> printf("+%d", x.a_data);
< printf("+%ld", x.a_bss);
> printf("+%d", x.a_bss);
< printf("[+%ld", x.a_syms);
> printf("[+%d", x.a_syms);
< printf(" start 0x%lx\n", x.a_entry);
> printf(" start 0x%x\n", x.a_entry);
< printf("short read\n");
> printf("Short read\n");
Only in src/sys/tahoestand: boot.o
Only in src/sys/tahoestand: bootsrt0.o
Only in src/sys/tahoestand: cat
Only in src/sys/tahoestand: cat.o
Only in src/sys/tahoestand: conf.o
Only in src/sys/tahoestand: copy
Only in src/sys/tahoestand: copy.o
diff -r src/sys/tahoestand/cy.c ../src/sys/tahoestand/cy.c
< /* cy.c 7.8 89/04/25 */
> /* cy.c 7.7 88/05/24 */
< #include "machine/pte.h"
< #include "machine/mtpr.h"
> #include "../machine/pte.h"
> #include "../machine/mtpr.h"
Only in src/sys/tahoestand: cy.o
Only in src/sys/tahoestand: dev.o
Only in src/sys/tahoestand: getfile.o
Only in src/sys/tahoestand: gets.o
Only in src/sys/tahoestand: hd.c
Only in src/sys/tahoestand: hd.o
Only in ../src/sys/tahoestand: hdc.c
Only in src/sys/tahoestand: libsa.a
Only in src/sys/tahoestand: ls
Only in src/sys/tahoestand: ls.o
Only in src/sys/tahoestand: machdep.o
Only in src/sys/tahoestand: ncy.c
Only in src/sys/tahoestand: ncy.o
diff -r src/sys/tahoestand/prf.c ../src/sys/tahoestand/prf.c
< /* prf.c 1.5 89/04/25 */
> /* prf.c 1.4 88/03/03 */
< #include "machine/mtpr.h"
> #include "../machine/mtpr.h"
Only in src/sys/tahoestand: prf.o
Only in src/sys/tahoestand: printn.o
diff -r src/sys/tahoestand/srt0.c ../src/sys/tahoestand/srt0.c
< /* srt0.c 1.7 89/04/25 */
> /* srt0.c 1.6 87/04/02 */
< #include "machine/mtpr.h"
> #include "../machine/mtpr.h"
Only in src/sys/tahoestand: srt0.o
Only in src/sys/tahoestand: sys.o
diff -r src/sys/tahoestand/vd.c ../src/sys/tahoestand/vd.c
< * Copyright (c) 1988 The Regents of the University of California.
< * This code is derived from software contributed to Berkeley by
< * Computer Consoles Inc.
< * Redistribution and use in source and binary forms are permitted
< * provided that the above copyright notice and this paragraph are
< * duplicated in all such forms and that any documentation,
< * advertising materials, and other materials related to such
< * distribution and use acknowledge that the software was developed
< * by the University of California, Berkeley. The name of the
< * University may not be used to endorse or promote products derived
< * from this software without specific prior written permission.
< * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
< * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
< * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
< * @(#)vd.c 7.13 (Berkeley) 4/25/89
> /* vd.c 7.10 88/06/14 */
< #include "machine/mtpr.h"
> #include "../machine/mtpr.h"
Only in src/sys/tahoestand: vd.o
Only in src/sys/tahoestand/vdformat: Errs
diff -r src/sys/tahoestand/vdformat/Makefile ../src/sys/tahoestand/vdformat/Makefile
< # @(#)Makefile 1.10 (Berkeley) 10/28/88
> # @(#)Makefile 1.8 (Berkeley) 7/9/88
< rm -f ${MAN} tags .depend
< install -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8/tahoe
> # DO NOT DELETE THIS LINE -- mkdep uses it.
> # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
> cmd.o: cmd.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> cmd.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> cmd.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> cmd.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> cmd.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h cmd.h
> cons.o: cons.c ../../h/../machine/mtpr.h ../../h/param.h
> cons.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> cons.o: ../../machine/machparam.h ../../h/../tahoe/cp.h
> config.o: config.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> config.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> config.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> config.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> config.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> correct.o: correct.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> correct.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> correct.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> correct.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> correct.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> delete.o: delete.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> delete.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> delete.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> delete.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> delete.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> disklabel.o: disklabel.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> disklabel.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> disklabel.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> disklabel.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> disklabel.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> exercise.o: exercise.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> exercise.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> exercise.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> exercise.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> exercise.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> help.o: help.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> help.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> help.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> help.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> help.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h cmd.h
> format.o: format.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> format.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> format.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> format.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> format.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> info.o: info.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> info.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> info.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> info.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> info.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h
> io.o: io.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> io.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> io.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> io.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> io.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h cmd.h
> list.o: list.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> list.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> list.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> list.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> list.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h
> maps.o: maps.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> maps.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> maps.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> maps.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> maps.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h
> proc_cmd.o: proc_cmd.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> proc_cmd.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> proc_cmd.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> proc_cmd.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> proc_cmd.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> profile.o: profile.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> profile.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> profile.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> profile.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> profile.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> relocate.o: relocate.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> relocate.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> relocate.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> relocate.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> relocate.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> reset.o: reset.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> reset.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> reset.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> reset.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> reset.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> smd.o: smd.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> smd.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> smd.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> smd.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> smd.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h
> smd_e.o: smd_e.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> smd_e.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> smd_e.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> smd_e.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> smd_e.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> start.o: start.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> start.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> start.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> start.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> start.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> status.o: status.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> status.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> status.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> status.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> status.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> util.o: util.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h ../../h/param.h
> util.o: /usr/include/sys/types.h ../../h/signal.h ../../machine/trap.h
> util.o: ../../machine/machparam.h ../../h/buf.h ../../h/disklabel.h
> util.o: ../../h/inode.h ../../h/fs.h ../../tahoevba/vbaparam.h
> util.o: ../../tahoevba/vdreg.h ../../tahoe/cp.h cmd.h
> vdfmt.o: vdfmt.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> vdfmt.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> vdfmt.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> vdfmt.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> vdfmt.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> verify.o: verify.c vdfmt.h /usr/include/setjmp.h ../../tahoe/mtpr.h
> verify.o: ../../h/param.h /usr/include/sys/types.h ../../h/signal.h
> verify.o: ../../machine/trap.h ../../machine/machparam.h ../../h/buf.h
> verify.o: ../../h/disklabel.h ../../h/inode.h ../../h/fs.h
> verify.o: ../../tahoevba/vbaparam.h ../../tahoevba/vdreg.h ../../tahoe/cp.h
> # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff -r src/sys/tahoestand/vdformat/cons.c ../src/sys/tahoestand/vdformat/cons.c
< /* cons.c 1.2 89/04/25 */
> /* cons.c 1.1 88/06/02 */
< #include "machine/mtpr.h"
> #include "../machine/mtpr.h"
diff -r src/sys/tahoestand/vdformat/disklabel.c ../src/sys/tahoestand/vdformat/disklabel.c
< static char sccsid[] = "%W% (Berkeley/CCI) %G%";
> static char sccsid[] = "@(#)disklabel.c 1.2 (Berkeley/CCI) 6/7/88";
< while (lp->d_traksize == 0) {
> while (op_mask & FORMAT_OP && lp->d_traksize == 0) {
diff -r src/sys/tahoestand/vdformat/format.c ../src/sys/tahoestand/vdformat/format.c
> dskaddr.cylinder = cyl;
< dcb.devselect = (char)cur.drive | lab->d_devflags;
> dcb.devselect = (char)cur.drive;
< printf("format %d @ %d/%d/%d\n", count, dskaddr->cylinder, dskaddr->track, dskaddr->sector);
Only in src/sys/tahoestand/vdformat: format.c.save
diff -r src/sys/tahoestand/vdformat/info.c ../src/sys/tahoestand/vdformat/info.c
< static char sccsid[] = "%W% (Berkeley/CCI) %G%";
> static char sccsid[] = "@(#)info.c 1.2 (Berkeley/CCI) 11/23/87";
< print("Module serial number is %d.\n", bad_map->bs_id);
> print("Module serial number is %d.\n", bad_map->bs_id);
> print("Drive type is %s.\n", lab->d_typename);
diff -r src/sys/tahoestand/vdformat/maps.c ../src/sys/tahoestand/vdformat/maps.c
< static char sccsid[] = "%W% (Berkeley/CCI) %G%";
> static char sccsid[] = "@(#)maps.c 1.7 (Berkeley/CCI) 6/7/88";
< bs_map_space.bs_magic = BSMAGIC;
< if(access_dsk((char *)bs_map_space.space,
< &dskaddr, VDOP_RD, lab->d_nsectors, 1) & VDERR_HARD)
> if(access_dsk((char *)save,&dskaddr, VDOP_RD,
> lab->d_nsectors,1)& VDERR_HARD)
< bad_map = (bs_map *)bs_map_space.space;
< * If this doesn't look like a new-style map,
< * but (as an old-style map) bs_count and bs_max are sensible,
< * munge pointer to prepend fields missing in old map.
< if (bad_map->bs_magic != BSMAGIC &&
< bad_map->bs_cksum <= MAX_FLAWMAP(bytes_trk) /* bs_count */
< && bad_map->bs_id <= MAX_FLAWMAP(bytes_trk)) /* bs_max */
< bad_map = (bs_map *)&bs_map_space;
< bcmp((char *)bs_map_space.space,
< (char *)save, bytes_trk) == 0) {
> if(bcmp((char *)scratch, (char *)save, bytes_trk) == true) {
> bcopy((char *)save, (char *)bad_map, bytes_trk);
> bzero(bad_map, bytes_trk);
> bad_map->bs_max = MAX_FLAWS;
< bcopy((char *)bs_map_space.space, (char *)save, bytes_trk);
> bcopy((char *)save, (char *)scratch, bytes_trk);
< bad_map = (bs_map *)bs_map_space.space;
< bzero(bad_map, bytes_trk);
< bad_map->bs_magic = BSMAGIC;
< bad_map->bs_max = MAX_FLAWS;
< bad_map->bs_magic = BSMAGIC;
< bcopy((char *)bad_map + (sec * lab->d_secsize),
> bcopy((char *)bs_map_space + (sec * lab->d_secsize),
< if(bad_map->bs_magic != BSMAGIC)
< print("Bad-sector map magic number wrong! (%x != %x)\n",
< bad_map->bs_magic, BSMAGIC);
< print("The following %d sector%s known to be bad:\n",
< bad_map->bs_count, (bad_map->bs_count == 1) ? " is" : "s are");
> print("The following sector%s known to be bad:\n",
> (bad_map->bs_count == 1) ? " is" : "s are");
< print("%c %d cn %d tn %d sn %d pos %d len %d ",
< errloc.err_stat & HEADER_ERROR ? 'T' : 'S',
> print("%s %d cn %d tn %d sn %d pos %d len %d ",
> errloc.err_stat & HEADER_ERROR ? "Track@" : "Sector",
Only in src/sys/tahoestand/vdformat: old
Only in src/sys/tahoestand/vdformat: online
diff -r src/sys/tahoestand/vdformat/relocate.c ../src/sys/tahoestand/vdformat/relocate.c
< static char sccsid[] = "%W% (Berkeley/CCI) %G%";
> static char sccsid[] = "@(#)relocate.c 1.6 (Berkeley/CCI) 6/7/88";
< dskaddr.track = lab->d_ntracks - 1;
> dskaddr.cylinder = lab->d_ntracks - 1;
diff -r src/sys/tahoestand/vdformat/vdfmt.c ../src/sys/tahoestand/vdformat/vdfmt.c
< static char sccsid[] = "%W% (Berkeley/CCI) %G%";
> static char sccsid[] = "@(#)vdfmt.c 1.6 (Berkeley/CCI) 6/7/88";
< print("VDFORMAT Berkeley Version %I% \n\n");
> print("VDFORMAT Berkeley Version 1.6 \n\n");
< bad_map = (bs_map *)bs_map_space.space;
> bad_map = (bs_map *)bs_map_space;
diff -r src/sys/tahoestand/vdformat/vdfmt.h ../src/sys/tahoestand/vdformat/vdfmt.h
> /* vdfmt.h 1.7 88/06/07 */
< unsigned int bs_magic; /* magic (0x12344321) */
< unsigned int bs_cksum; /* checksum (0) */
< #define MAX_FLAWMAP(x) (((x) - sizeof(bs_map)) / sizeof(bs_entry))
< #define MAX_FLAWS MAX_FLAWMAP(MAXTRKSIZ*sizeof(long))
< #define BSMAGIC 0x12344321
> #define MAX_FLAWS (((MAXTRKSIZ*sizeof(long))-sizeof(bs_map))/sizeof(bs_entry))
< unsigned int bs_magic; /* magic (0x12344321) */
< unsigned int bs_cksum; /* checksum (0) */
> long bs_map_space[MAXTRKSIZ];
Only in src/sys/tahoestand/vdformat: vdformat.8
Only in src/sys/tahoevba: hd.c
Only in src/sys/tahoevba: hdreg.h
diff -r src/sys/tahoevba/vba.c ../src/sys/tahoevba/vba.c
< * @(#)vba.c 7.4 (Berkeley) 5/5/89
> * @(#)vba.c 7.2 (Berkeley) 6/29/88
< * This code belongs half-way between {hd,vd}.c and this file.
> * This code belongs half-way between vd.c and this file.
> vba_sgsetup(bp, vb, sg)
> o = (int)bp->b_un.b_addr & PGOFSET;
< o = (int)bp->b_un.b_addr & PGOFSET;
< sg->start_addr.wcount = i >> 1;
> sg->start_addr.wcount = (i + 1) >> 1;
< register struct buf *bp;
< register struct pte *spte;
< register struct addr_chain *adr;
< if (bp->b_bcount > HDC_MAXBC ||
< bp->b_bcount % sizeof(long) - 1 ||
< (u_int)bp->b_un.b_addr % sizeof(long) - 1)
< vb->vb_iskernel = (((int)bp->b_un.b_addr & KERNBASE) == KERNBASE);
< spte = kvtopte(bp->b_un.b_addr);
< spte = vtopte((bp->b_flags&B_DIRTY) ? &proc[2] : bp->b_proc,
< btop(bp->b_un.b_addr));
< o = (int)bp->b_un.b_addr & PGOFSET;
< i = min(NBPG - o, bp->b_bcount);
< sg->memadr = ((spte++)->pg_pfnum << PGSHIFT) + o;
< for (i = (bp->b_bcount - i) >> 2; i > 0; i -= NBPG / sizeof(long)) {
< if (++cnt == HDC_MAXCHAIN)
< sg->wcount |= LWC_DATA_CHAIN;
< sg->wcount = imin(i, NBPG / sizeof(long));
< sg->memadr = (spte++)->pg_pfnum << PGSHIFT;
diff -r src/sys/tahoevba/vx.c ../src/sys/tahoevba/vx.c
< #include "../tahoevba/vbaparam.h"
< register struct vxdevice *vp;
> register struct vxdevice *vp = (struct vxdevice *)reg;
< if (!VBIOMAPPED(reg) && !vbmemalloc(16, reg, &dummypte, ®)) {
< printf("vx%d: vbmemalloc failed.\n", vi->ui_unit);
< vp = (struct vxdevice *)reg;
< printf("vx%d: %x\n", vi->ui_unit, reg);
Only in src/sys/tahoevba: vx.c.1
Only in src/sys/tahoevba: vx.c.okeeffe