linux/arch/x86_64/lib/clear_page.S

13 lines
136 B
ArmAsm

/*
* Zero a page.
* rdi page
*/
.globl clear_page
.p2align 4
clear_page:
movl $4096/8,%ecx
xorl %eax,%eax
rep
stosq
ret