From owner-freebsd-ia64 Thu Jun 6 14: 5:23 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id DB59637B401 for ; Thu, 6 Jun 2002 14:05:19 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g56L5GJ92743; Thu, 6 Jun 2002 14:05:16 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3) with ESMTP id g56L5H31003434; Thu, 6 Jun 2002 14:05:17 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g56L5H2w003433; Thu, 6 Jun 2002 14:05:17 -0700 (PDT) (envelope-from marcel) Date: Thu, 6 Jun 2002 14:05:17 -0700 From: Marcel Moolenaar To: "K.Sumitani" Cc: ia64@FreeBSD.ORG Subject: Re: ia64 kernel does not boot SKI ? Message-ID: <20020606210517.GA3381@dhcp01.pn.xcllnt.net> References: <20020605212856.GA47618@dhcp01.pn.xcllnt.net> <20020606212522.VANVC0A8274D.C79F0C8A@mail.biglobe.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020606212522.VANVC0A8274D.C79F0C8A@mail.biglobe.ne.jp> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 06, 2002 at 09:25:06PM +0900, K.Sumitani wrote: > > So, I modified ski_fake_efi_get_time() to use SSC_GET_TOD Can you try the following patch instead of yours. I think the SSC_GET_TOD function makes it rather an involved change. Also, the SSC_GET_TOD call needs a second argument (pointer to struct timezone). The Linux port of ski gratuitously allows passing a NULL-pointer for the second arg. Probably because it's not used in Linux in the first place. Index: ski.c =================================================================== RCS file: /home/ncvs/src/sys/ia64/ia64/ski.c,v retrieving revision 1.3 diff -u -r1.3 ski.c --- ski.c 19 May 2002 05:40:22 -0000 1.3 +++ ski.c 6 Jun 2002 20:54:52 -0000 @@ -58,6 +58,9 @@ "break 0x80001" : "=r"(ret0) : "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3)); + + __asm __volatile("ssm psr.dt"); + return ret0; } -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message