From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Bcbed-0008Dr-6q for mharc-grub-devel@gnu.org; Mon, 21 Jun 2004 23:08:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bcbeb-0008Dm-OK for grub-devel@gnu.org; Mon, 21 Jun 2004 23:08:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcbeZ-0008Da-BK for grub-devel@gnu.org; Mon, 21 Jun 2004 23:08:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcbeZ-0008DX-8P for grub-devel@gnu.org; Mon, 21 Jun 2004 23:08:55 -0400 Received: from [159.226.39.7] (helo=webmail.ict.ac.cn) by monty-python.gnu.org with smtp (Exim 4.34) id 1Bcbcu-0003UA-6l for grub-devel@gnu.org; Mon, 21 Jun 2004 23:07:12 -0400 Received: (qmail 25102 invoked by uid 507); 22 Jun 2004 02:53:35 -0000 Received: from unknown (HELO ThinkPadT22) (fengshuo@159.226.39.251) by webmail.ict.ac.cn with SMTP; 22 Jun 2004 02:53:35 -0000 From: "Feng Shuo" To: "'The development of GRUB 2'" Date: Tue, 22 Jun 2004 11:06:57 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Thread-Index: AcRXnuMdKxZQz8TeQby/dcTYWVYO6QAZU58A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: Cc: bug-grub@gnu.org Subject: RE: calling UNDI API X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 03:08:57 -0000 I do some work on grub, but it doesn't work now :-( I will release a special patch containing the unfinished UNDI drivers for GRUB-0.95. Hope somebody can fix it and let it work :-) BTW. I think the UNDI driver may be not our first choice ---- so many cards are buggy implemented :-( -----Original Message----- From: grub-devel-bounces+fengshuo=ict.ac.cn@gnu.org [mailto:grub-devel-bounces+fengshuo=ict.ac.cn@gnu.org] On Behalf Of lode leroy Sent: Monday, June 21, 2004 11:02 PM To: grub-devel@gnu.org Subject: calling UNDI API Hi, does anyone have code to call UNDI functions from withing GRUB? I can obtain the physical address of a function "entry16point" or "entry32point" which are supposedly callable from real mode and/or protected mode, but I do not know how to use them (successfully) I'm looking into the sources from NILO and etherboot, but there's too much stuff to learn... (I'm not sufficiently familiar with x86 protected mode used in grub2...) -- lode u_int16_t (*entry16point)(u_int16_t func, void *param); /* 16bit stack segment API entry */ /* point. This will be seg:off in */ /* real mode and sel:off in 16:16 */ /* protected mode. */ u_int16_t (*entry32point)(u_int16_t func, void *param); /* 32bit stack segment API entry */ /* point. This will be sel:off. */ /* In real mode, sel == 0 */ _________________________________________________________________ Online een nieuwe taal leren? http://www.msn.be/msnacademy _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel