From owner-p4-projects@FreeBSD.ORG Sun Apr 6 16:45:22 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 48FDE37B404; Sun, 6 Apr 2003 16:45:22 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8CB737B401 for ; Sun, 6 Apr 2003 16:45:21 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6326543F85 for ; Sun, 6 Apr 2003 16:45:21 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h36NjL0U091280 for ; Sun, 6 Apr 2003 16:45:21 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h36NjK6b091277 for perforce@freebsd.org; Sun, 6 Apr 2003 16:45:20 -0700 (PDT) Date: Sun, 6 Apr 2003 16:45:20 -0700 (PDT) Message-Id: <200304062345.h36NjK6b091277@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 28373 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 23:45:23 -0000 http://perforce.freebsd.org/chv.cgi?CH=28373 Change 28373 by peter@peter_overcee on 2003/04/06 16:45:14 Call serial_putc correctly. doh! We now print something from the kernel, in 64 bit mode, running at the compiled KERNBASE instead of having to compensate for the evil relocation stuff: OK load /boot/kernel64 /boot/kernel64 text=0x138ac0 data=0x367f0+0x15360 syms=[0x4+0x28e00+0x4+0x1ce1]- OK unset acpi_load OK boot Hello, World! Affected files ... .. //depot/projects/hammer/sys/x86_64/x86_64/locore.s#28 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/x86_64/locore.s#28 (text+ko) ==== @@ -113,7 +113,7 @@ fillkpt(KPTphys, prot) #define PING(a) \ - movb $(a),%al; \ + movb $(a),%bl; \ call serial_putc .text @@ -143,6 +143,13 @@ PING('l'); PING('l'); PING('o'); + PING(','); + PING(' '); + PING('W'); + PING('o'); + PING('r'); + PING('l'); + PING('d'); PING('!'); PING('\r'); PING('\n'); @@ -382,8 +389,7 @@ testb $0x20, %al je 1b # TX buffer not empty - movb 8(%rsp), %al - + movb %bl, %al subl $5, %edx # TX output reg outb %al, %dx # send this one