While here, use uintN_t.
This commit is contained in:
parent
c6474efc78
commit
2e71b70d1f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: mmu.c,v 1.14 2006/02/12 02:23:03 uwe Exp $ */
|
/* $NetBSD: mmu.c,v 1.15 2006/02/12 02:30:55 uwe Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: mmu.c,v 1.14 2006/02/12 02:23:03 uwe Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: mmu.c,v 1.15 2006/02/12 02:30:55 uwe Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -51,7 +51,7 @@ void (*__sh_mmu_start)(void);
|
||||||
void (*__sh_tlb_invalidate_addr)(int, vaddr_t);
|
void (*__sh_tlb_invalidate_addr)(int, vaddr_t);
|
||||||
void (*__sh_tlb_invalidate_asid)(int);
|
void (*__sh_tlb_invalidate_asid)(int);
|
||||||
void (*__sh_tlb_invalidate_all)(void);
|
void (*__sh_tlb_invalidate_all)(void);
|
||||||
void (*__sh_tlb_update)(int, vaddr_t, u_int32_t);
|
void (*__sh_tlb_update)(int, vaddr_t, uint32_t);
|
||||||
#endif /* SH3 && SH4 */
|
#endif /* SH3 && SH4 */
|
||||||
|
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ sh_mmu_init(void)
|
||||||
void
|
void
|
||||||
sh_mmu_information(void)
|
sh_mmu_information(void)
|
||||||
{
|
{
|
||||||
u_int32_t r;
|
uint32_t r;
|
||||||
#ifdef SH3
|
#ifdef SH3
|
||||||
if (CPU_IS_SH3) {
|
if (CPU_IS_SH3) {
|
||||||
printf("cpu0: 4-way set-associative 128 TLB entries\n");
|
printf("cpu0: 4-way set-associative 128 TLB entries\n");
|
||||||
|
|
Loading…
Reference in New Issue