Lines Matching defs:xpteg
502 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va;
513 ReadReal(pteg, &xpteg[0]); /* Get first half of the pteg */
514 ReadReal(pteg + 0x20, &xpteg[8]); /* Get second half of the pteg */
523 db_printf("%08X %08X - ", xpteg[i], xpteg[i + 1]); /* Dump the pteg slot */
525 if(xpteg[i] & 0x80000000) db_printf(" valid - "); /* Is it valid? */
528 space = (xpteg[i] >> 7) & (maxAdrSp - 1); /* Extract the space */
531 seg = (xpteg[i] >> 7) ^ hash; /* Get the segment number */
532 api = (xpteg[i] & 0x3F); /* Get the API */
538 ReadReal(pteg + 0x40, &xpteg[16]); /* Get third half of the pteg */
539 ReadReal(pteg + 0x60, &xpteg[24]); /* Get fourth half of the pteg */
542 db_printf("%08X%08X %08X%08X - ", xpteg[i], xpteg[i + 1], xpteg[i + 2], xpteg[i + 3]); /* Dump the pteg slot */
544 if(xpteg[i + 1] & 1) db_printf(" valid - "); /* Is it valid? */
547 llslot = ((long long)xpteg[i] << 32) | (long long)xpteg[i + 1]; /* Make a long long version of this */
864 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va, free, free2, xauto, PTEGcnt, wimgkk, wimgxx, slotoff;
884 ReadReal(pteg, &xpteg[0]); /* Get first half of the pteg */
885 ReadReal(pteg + 0x20, &xpteg[8]); /* Get second half of the pteg */
887 ReadReal(pteg + 0x40, &xpteg[16]); /* Get third half of the pteg */
888 ReadReal(pteg + 0x60, &xpteg[24]); /* Get fourth half of the pteg */
906 if((xpteg[slot] == xpteg[slot2])
907 && (!s4bit || (xpteg[slot + 1] == xpteg[slot2 + 1]))) { /* Do we have duplicates? */
924 if((!s4bit && (xpteg[slot] & 0x80000000)) /* Is a supposedly free slot valid? */
925 || (s4bit && (xpteg[slot + 1] & 1))) {
932 if(!(!s4bit && (xpteg[slot] & 0x80000000)) /* Is a supposedly in use slot valid? */
933 && !(s4bit && (xpteg[slot + 1] & 1))) {
939 space = (xpteg[slot] >> 7) & (maxAdrSp - 1); /* Extract the space */
942 seg = (xpteg[slot] >> 7) ^ hash; /* Get the segment number */
943 api = (xpteg[slot] & 0x3F); /* Get the API */
946 wimgxx = xpteg[slot + 1] & 0x7F; /* Get the wimg and pp */
947 ppn = xpteg[slot + 1] >> 12; /* Get physical page number */
951 llslot = ((long long)xpteg[slot] << 32) | (long long)xpteg[slot + 1]; /* Make a long long version of this */
959 wimgxx = xpteg[slot + 3] & 0x7F; /* Get the wimg and pp */
960 ppn = (xpteg[slot + 2] << 20) | (xpteg[slot + 3] >> 12); /* Get physical page number */