All of lore.kernel.org
 help / color / mirror / Atom feed
From: "lode leroy" <lode_leroy@hotmail.com>
To: grub-devel@gnu.org
Subject: calling UNDI API
Date: Mon, 21 Jun 2004 17:02:17 +0200	[thread overview]
Message-ID: <BAY22-F7wA19mzRjo2E00013d98@hotmail.com> (raw)

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




             reply	other threads:[~2004-06-21 15:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 15:02 lode leroy [this message]
2004-06-21 15:22 ` calling UNDI API Tobias Wollgam
2004-06-22  3:06 ` Feng Shuo
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=BAY22-F7wA19mzRjo2E00013d98@hotmail.com \
    --to=lode_leroy@hotmail.com \
    --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.