PERFORCE change 107890 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sat Oct 14 07:36:01 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107890
Change 107890 by gonzo at gonzo_hq on 2006/10/14 14:35:33
o Rename tlb access methods to point out that this is
used only for kernel address space.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/include/tlb.h#6 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/include/tlb.h#6 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#5 $
+ * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#6 $
*/
#ifndef _MACHINE_TLB_H_
@@ -32,8 +32,8 @@
extern pt_entry_t *kptmap;
extern vm_size_t kptsize;
-#define tlb_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT)
-#define tlb_pte_find(t,va) (&(t)[tlb_pte_index((va))])
+#define tlb_kern_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT)
+#define tlb_kern_pte_find(t,va) (&(t)[tlb_kern_pte_index((va))])
void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t));
void tlb_enter(pmap_t, vm_offset_t, vm_paddr_t, pt_entry_t);
More information about the p4-projects
mailing list