In pmap_page_is_cacheable(), add an explicit check for KSEG0 addresses.
They don't show up in the page tables, so the default "not cacheable" status is wrong. This finally gets my ex(4) working on the Cayman's PCIbus.
This commit is contained in:
parent
f6bcf4feae
commit
9e1133a710
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.c,v 1.12 2002/10/01 15:01:48 scw Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.13 2002/10/02 12:19:38 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -1115,6 +1115,9 @@ pmap_page_is_cacheable(pmap_t pm, vaddr_t va)
|
||||
ptel_t ptel = 0;
|
||||
int s;
|
||||
|
||||
if (va < SH5_KSEG1_BASE && va >= SH5_KSEG0_BASE)
|
||||
return (1);
|
||||
|
||||
s = splhigh();
|
||||
pvo = pmap_pvo_find_va(pm, va, NULL);
|
||||
if (pvo != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user