patch-2.4.0-test2 linux/arch/ia64/lib/clear_page.S
Next file: linux/arch/ia64/lib/clear_user.S
Previous file: linux/arch/ia64/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Thu Jun 22 07:09:44 2000
- Orig file:
v2.4.0-test1/linux/arch/ia64/lib/clear_page.S
- Orig date:
Thu Feb 10 17:11:03 2000
diff -u --recursive --new-file v2.4.0-test1/linux/arch/ia64/lib/clear_page.S linux/arch/ia64/lib/clear_page.S
@@ -10,10 +10,11 @@
* Output:
* none
*
- * Copyright (C) 1999 Hewlett-Packard Co
+ * Copyright (C) 1999-2000 Hewlett-Packard Co
* Copyright (C) 1999 Stephane Eranian <eranian@hpl.hp.com>
- * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1999-2000 David Mosberger-Tang <davidm@hpl.hp.com>
*/
+#include <asm/asmmacro.h>
#include <asm/page.h>
.text
@@ -21,12 +22,14 @@
.psr lsb
.lsb
- .align 32
- .global clear_page
- .proc clear_page
-clear_page:
+GLOBAL_ENTRY(clear_page)
+ UNW(.prologue)
alloc r11=ar.pfs,1,0,0,0
+ UNW(.save ar.lc, r16)
mov r16=ar.lc // slow
+
+ UNW(.body)
+
mov r17=PAGE_SIZE/32-1 // -1 = repeat/until
;;
adds r18=16,in0
@@ -38,5 +41,4 @@
;;
mov ar.lc=r16 // restore lc
br.ret.sptk.few rp
-
- .endp clear_page
+END(clear_page)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)