minix/servers/vm/i386/util.s
Ben Gras c078ec0331 Basic VM and other minor improvements.
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00

23 lines
564 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define _i386_invlpg
.sect .text
!*===========================================================================*
!* i386_invlpg *
!*===========================================================================*
! PUBLIC void i386_invlpg(u32_t addr)
! Tell the processor to invalidate a tlb entry at virtual address addr.
_i386_invlpg:
push ebp
mov ebp, esp
push eax
mov eax, 8(ebp)
invlpg eax
pop eax
pop ebp
ret