summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
696ccec)
SCCS-vsn: sys/vax/uba/uba.c 6.4
-/* uba.c 6.3 85/01/18 */
+/* uba.c 6.4 85/03/19 */
#include "../machine/pte.h"
#include "../machine/pte.h"
struct buf *bp;
{
register struct uba_hd *uh = &uba_hd[uban];
struct buf *bp;
{
register struct uba_hd *uh = &uba_hd[uban];
int npf, reg, bdp;
unsigned v;
register struct pte *pte, *io;
int npf, reg, bdp;
unsigned v;
register struct pte *pte, *io;
pte = vtopte(rp, v);
io = &uh->uh_uba->uba_map[reg];
while (--npf != 0) {
pte = vtopte(rp, v);
io = &uh->uh_uba->uba_map[reg];
while (--npf != 0) {
- if (pte->pg_pfnum == 0)
+ pfnum = pte->pg_pfnum;
+ if (pfnum == 0)
panic("uba zero uentry");
panic("uba zero uentry");
- *(int *)io++ = pte++->pg_pfnum | temp;
+ pte++;
+ *(int *)io++ = pfnum | temp;
}
*(int *)io++ = 0;
return (ubinfo);
}
*(int *)io++ = 0;
return (ubinfo);