Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1888
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup genericmm
29
/** @addtogroup genericmm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __TLB_H__
35
#ifndef KERN_TLB_H_
36
#define __TLB_H__
36
#define KERN_TLB_H_
37
 
37
 
38
#include <arch/mm/asid.h>
38
#include <arch/mm/asid.h>
39
#include <arch/types.h>
39
#include <arch/types.h>
40
#include <typedefs.h>
40
#include <typedefs.h>
41
 
41
 
Line 73... Line 73...
73
#  define tlb_shootdown_start(w, x, y, z)
73
#  define tlb_shootdown_start(w, x, y, z)
74
#  define tlb_shootdown_finalize()
74
#  define tlb_shootdown_finalize()
75
#  define tlb_shootdown_ipi_recv()
75
#  define tlb_shootdown_ipi_recv()
76
#endif /* CONFIG_SMP */
76
#endif /* CONFIG_SMP */
77
 
77
 
78
 
-
 
79
/* Export TLB interface that each architecture must implement. */
78
/* Export TLB interface that each architecture must implement. */
80
extern void tlb_arch_init(void);
79
extern void tlb_arch_init(void);
81
extern void tlb_print(void);
80
extern void tlb_print(void);
82
extern void tlb_shootdown_ipi_send(void);
81
extern void tlb_shootdown_ipi_send(void);
83
 
82
 
84
extern void tlb_invalidate_all(void);
83
extern void tlb_invalidate_all(void);
85
extern void tlb_invalidate_asid(asid_t asid);
84
extern void tlb_invalidate_asid(asid_t asid);
86
extern void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt);
85
extern void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt);
87
#endif
86
#endif
88
 
87
 
89
 /** @}
88
/** @}
90
 */
89
 */
91
 
-