PERFORCE change 28589 for review
    Peter Wemm 
    peter at FreeBSD.org
       
    Tue Apr  8 18:47:20 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=28589
Change 28589 by peter at peter_daintree on 2003/04/08 18:46:54
	add fillw() for vga/fb
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/support.s#17 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/support.s#17 (text+ko) ====
@@ -43,6 +43,17 @@
 
 	.text
 
+/* fillw(pat, base, cnt) */  
+/*       %rdi,%rsi, %rdx */
+ENTRY(fillw)
+	movq	%rdi,%rax   
+	movq	%rsi,%rdi
+	movq	%rdx,%rcx
+	cld
+	rep
+	stosw
+	ret
+
 /*****************************************************************************/
 /* copyout and fubyte family                                                 */
 /*****************************************************************************/
    
    
More information about the p4-projects
mailing list