All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Rydberg <jrydberg@night.trouble.net>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: calling UNDI API
Date: Thu, 1 Jul 2004 20:44:30 +0200	[thread overview]
Message-ID: <20040701204430.19e43165.jrydberg@night.trouble.net> (raw)
In-Reply-To: <87d63falyb.fsf@marco.marco-g.com>

Marco Gerards <metgerards@student.han.nl> wrote:

: > GRUB doesn't assume that hardware interrupts occur during normal
: > execution, since this makes the implementation very complex, due to
: > the switch between real mode and protected mode on i386. So I prefer
: > the polling approach to the interruption-based approach. For this,
: > Etherboot fits gracefully.
: 
: Ok, I agree.

Isn't GRUB executing in protected mode, except when it escapes into
real mode to do BIOS calls?  I can not see how it would be difficult
to use interrupts in such context.  Or does the BIOS depend on 
interrupst?
 
: > BTW, do you really need TCP in GRUB? I know some people want to use TCP 
: > protocols for netboot, such as HTTP and FTP. But I feel this is 
: > overkill. If you need only UDP, it's quite easy to implement. You can 
: > just copy the code from GRUB Legacy with a few modifications for 
: > portability.
: 
: No, I just said TCP/IP because I am used to it and it is the name of
: the protocol, I did not mean TCP specifically.  But I know a lot of
: people would like TCP support.  It is at least an option that should
: be left open, IMHO.

The problem is that TCP is rather interrupt driven by nature.  For 
example, it uses a lot of timers for packet re-sending and similar
stuff.

Maybe it is possible to use lwIP, which is released under a modified
BSD license.  See http://savannah.nongnu.org/projects/lwip/

~j



  reply	other threads:[~2004-07-01 18:46 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
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 [this message]
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=20040701204430.19e43165.jrydberg@night.trouble.net \
    --to=jrydberg@night.trouble.net \
    --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.