MIPS_KSEG1_START
if (buf >= (void *)MIPS_KSEG1_START &&
if (bsh < MIPS_KSEG1_START) /* KUSEG or KSEG0 */
else if (bsh < MIPS_KSEG1_START) /* KSEG0 */
if (end <= MIPS_KSEG1_START - MIPS_KSEG0_START) {
if (buf >= (void *)MIPS_KSEG1_START &&
if (buf >= (void *)MIPS_KSEG1_START &&
if (buf >= (void *)MIPS_KSEG1_START &&
*(volatile uint8_t *)MIPS_KSEG1_START;
MIPS_KSEG1_START, MIPS_KSEG2_START - MIPS_KSEG1_START); /* XXX */
if (buf >= (void *)MIPS_KSEG1_START &&
addr < (void *)MIPS_KSEG1_START)
else if (addr >= (void *)MIPS_KSEG1_START &&
t->_bounce_alloc_hi = MIPS_KSEG1_START - MIPS_KSEG0_START;
t->_wsize = MIPS_KSEG1_START - MIPS_KSEG0_START;
#define MIPS_PHYS_TO_KSEG1(x) ((intptr_t)(x) | (intptr_t)MIPS_KSEG1_START)
#define MIPS_KSEG1_P(x) (((intptr_t)(x) & ~MIPS_PHYS_MASK) == MIPS_KSEG1_START)
0, MIPS_KSEG1_START - MIPS_KSEG0_START,
CTASSERT(MIPS_KSEG1_START < 0);
CTASSERT((uint32_t)MIPS_KSEG1_START == 0xa0000000);
|| pmap_limits.avail_end > MIPS_KSEG1_START - MIPS_KSEG0_START
const paddr_t high = MIPS_KSEG1_START - MIPS_KSEG0_START;
if ((vaddr_t)envstr < (vaddr_t)MIPS_KSEG1_START ||
if (buf >= (void *)MIPS_KSEG1_START &&
else if (bsh < MIPS_KSEG1_START) /* KSEG0 */
if (bsh < MIPS_KSEG1_START) /* KUSEG or KSEG0 */
#define SCCVECT (0x1fcc0007 | MIPS_KSEG1_START)
if (buf >= (void *)MIPS_KSEG1_START &&
if (buf >= (void *)MIPS_KSEG1_START &&
if (buf >= (void *)MIPS_KSEG1_START &&