Date: Sun, 6 Apr 2003 18:47:55 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 28384 for review Message-ID: <200304070147.h371ltA3008044@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28384 Change 28384 by peter@peter_overcee on 2003/04/06 18:46:56 use serial_puts for the Hello, World! instead of PING Affected files ... .. //depot/projects/hammer/sys/x86_64/x86_64/locore.s#30 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/x86_64/locore.s#30 (text+ko) ==== @@ -65,16 +65,6 @@ .globl kernbase .set kernbase,KERNBASE -/********************************************************************** - * - * Some handy macros - * - */ - -#define PING(a) \ - movq $(a),%rdi; \ - call serial_putc - .text /********************************************************************** * @@ -92,22 +82,6 @@ call init_serial - PING('H'); - PING('e'); - PING('l'); - PING('l'); - PING('o'); - PING(','); - PING(' '); - PING('W'); - PING('o'); - PING('r'); - PING('l'); - PING('d'); - PING('!'); - PING('\r'); - PING('\n'); - movq $str, %rdi call serial_puts @@ -130,7 +104,7 @@ hlt str: - .asciz "this is a string\n" + .asciz "Hello, World!\n" prf: .asciz "This is a number: %#x\n" #if 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304070147.h371ltA3008044>