From af31cb589c05068c2c59b8cdb8e6ade9a0611bc2 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 5 Aug 2009 02:31:00 +0000 Subject: [PATCH] Added comment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32119 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/arch_x86.S | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/system/kernel/arch/x86/arch_x86.S b/src/system/kernel/arch/x86/arch_x86.S index d812515731..cdef569067 100644 --- a/src/system/kernel/arch/x86/arch_x86.S +++ b/src/system/kernel/arch/x86/arch_x86.S @@ -17,10 +17,12 @@ .text -/* void arch_cpu_user_TLB_invalidate(); */ +/*! \fn void arch_cpu_user_TLB_invalidate() + Invalidates the TLB. Must be called with interrupts disabled. +*/ FUNCTION(arch_cpu_user_TLB_invalidate): - movl %cr3,%eax - movl %eax,%cr3 + movl %cr3, %eax + movl %eax, %cr3 ret FUNCTION_END(arch_cpu_user_TLB_invalidate)