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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lode
leroy
Sent: Monday, June 21, 2004 11:02 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/grub-devel



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to