All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Feng Shuo" <fengshuo@ict.ac.cn>
To: "'The development of GRUB 2'" <grub-devel@gnu.org>
Cc: bug-grub@gnu.org
Subject: RE: calling UNDI API
Date: Tue, 22 Jun 2004 11:06:57 +0800	[thread overview]
Message-ID: <E1BcbeZ-0008Da-BK@lists.gnu.org> (raw)
In-Reply-To: <BAY22-F7wA19mzRjo2E00013d98@hotmail.com>

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




  parent reply	other threads:[~2004-06-22  3:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 15:02 calling UNDI API lode leroy
2004-06-21 15:22 ` Tobias Wollgam
2004-06-22  3:06 ` Feng Shuo [this message]
2004-06-27 12:16 ` Marco Gerards
2004-06-28  9:25   ` Yoshinori K. Okuji
2004-06-28 16:49     ` Marco Gerards
2004-06-29 11:29     ` Marco Gerards
2004-06-29 14:59       ` chaac
2004-07-01 11:32       ` Yoshinori K. Okuji
2004-07-01 13:36         ` Marco Gerards
2004-07-01 18:44           ` Johan Rydberg
2004-07-02  1:39           ` Feng Shuo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BcbeZ-0008Da-BK@lists.gnu.org \
    --to=fengshuo@ict.ac.cn \
    --cc=bug-grub@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.