Date: Thu, 6 Jun 2002 14:05:17 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: "K.Sumitani" <ksumitani@mui.biglobe.ne.jp> Cc: ia64@FreeBSD.ORG Subject: Re: ia64 kernel does not boot SKI ? Message-ID: <20020606210517.GA3381@dhcp01.pn.xcllnt.net> In-Reply-To: <20020606212522.VANVC0A8274D.C79F0C8A@mail.biglobe.ne.jp> References: <20020605212856.GA47618@dhcp01.pn.xcllnt.net> <20020606212522.VANVC0A8274D.C79F0C8A@mail.biglobe.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606210517.GA3381>