projects
/
linux-2.4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more debug output
[linux-2.4.git]
/
arch
/
x86_64
/
lib
/
clear_page.S
1
2
/*
3
* Zero a page.
4
* rdi page
5
*/
6
.globl clear_page
7
.p2align 4
8
clear_page:
9
xorl %eax,%eax
10
movl $4096/64,%ecx
11
.p2align 4
12
.Lloop:
13
decl %ecx
14
#define PUT(x) movq %rax,x*8(%rdi)
15
movq %rax,(%rdi)
16
PUT(1)
17
PUT(2)
18
PUT(3)
19
PUT(4)
20
PUT(5)
21
PUT(6)
22
PUT(7)
23
leaq 64(%rdi),%rdi
24
jnz .Lloop
25
nop
26
ret
27