diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-25 20:55:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-25 20:55:16 +0000 |
commit | 32d39117d55efd5f59740cb603ac1cb5972966f7 (patch) | |
tree | eedd41fc6df8de2b013aa528ae5a49920d201c7f /sys/arch/m88k/include | |
parent | 56105db4443c9fe5708cf92279632c9410d5ba0a (diff) |
Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makes
things easier for the callers, and allows us to inline the "fewer than 4 pages"
situation for speed.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r-- | sys/arch/m88k/include/cmmu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/include/cmmu.h b/sys/arch/m88k/include/cmmu.h index 18c5cbda4d8..6a31cbaf8bb 100644 --- a/sys/arch/m88k/include/cmmu.h +++ b/sys/arch/m88k/include/cmmu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmmu.h,v 1.8 2005/04/27 14:09:45 miod Exp $ */ +/* $OpenBSD: cmmu.h,v 1.9 2005/09/25 20:55:13 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1992 Carnegie Mellon University @@ -57,7 +57,7 @@ struct cmmu_p { unsigned (*cmmu_cpu_number_func)(void); void (*cmmu_set_sapr_func)(unsigned, unsigned); void (*cmmu_set_uapr_func)(unsigned); - void (*cmmu_flush_tlb_func)(unsigned, unsigned, vaddr_t, vsize_t); + void (*cmmu_flush_tlb_func)(unsigned, unsigned, vaddr_t, u_int); void (*cmmu_flush_cache_func)(int, paddr_t, psize_t); void (*cmmu_flush_inst_cache_func)(int, paddr_t, psize_t); void (*cmmu_flush_data_cache_func)(int, paddr_t, psize_t); |