From owner-freebsd-ia64@FreeBSD.ORG Tue Jul 27 08:38:00 2004 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B088716A4CE; Tue, 27 Jul 2004 08:38:00 +0000 (GMT) Received: from hotmail.com (bay19-f26.bay19.hotmail.com [64.4.53.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF8743D39; Tue, 27 Jul 2004 08:38:00 +0000 (GMT) (envelope-from youngdream8039@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jul 2004 01:38:00 -0700 Received: from 61.187.16.2 by by19fd.bay19.hotmail.msn.com with HTTP; Tue, 27 Jul 2004 08:38:00 GMT X-Originating-IP: [61.187.16.2] X-Originating-Email: [youngdream8039@hotmail.com] X-Sender: youngdream8039@hotmail.com From: "M.M. Yang" To: freebsd-ia64@freebsd.org Date: Tue, 27 Jul 2004 08:38:00 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jul 2004 08:38:00.0535 (UTC) FILETIME=[064F4670:01C473B5] X-Mailman-Approved-At: Tue, 27 Jul 2004 12:07:34 +0000 cc: freebsd-questions@freebsd.org Subject: "printf" doesn't work in ia64_init()? X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 08:38:00 -0000 Hi all, I'm reading the function ia64_init(), and try to use "printf" to output some information. But if I put "printf" before "msgbufinit()", I won't see any word I expect by using dmesg. In the same function after "cninit()", it comments: /* * Initialize the console before we print anything out. */ cninit(); /* OUTPUT NOW ALLOWED */ So I have thought "printf" should work after cninit(). But now it seems to work only after msgbufinit(). Is there any way I can output information before msgbufinit()? Regards, Annie _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn