All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Pelletier <subdino2004@yahoo.fr>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: rmll - grub2 presentation
Date: Sat, 09 Jul 2005 08:11:10 +0200	[thread overview]
Message-ID: <42CF6A7E.8020009@yahoo.fr> (raw)
In-Reply-To: <200507090456.58569.okuji@enbug.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yoshinori K. Okuji wrote:
> Good news. Is Jeff active now? I haven't seen him hacking these days...

He was moving the last days, so he hasn't much time.

And a good news marco already knows : I finally made the OpenBoot calls
work \o/ !

The problem was in the struct used to send args & receive return values.
It must contain fields of the same size, which is 32 bits on ppc and 64
on usparc. So now it works with long long as field type.

So, I'm glad to announce the very first time some grub 2 related work
booted on an usparc :

ok load net
Boot device: /pci@1f,0/pci@1,1/network@1,1  File and args:
5800
ok init-program
testType  'go' to resume
ok go
Program terminated

I call the following functions:
_start :
 grub_ofconsole_init() :
  grub_ieee1275_finddevice ("/chosen", &chosen)
  grub_ieee1275_get_property (chosen, "stdout", data, sizeof data,
			     &actual)
  grub_ieee1275_get_property (chosen, "stdin", data, sizeof data,
			     &actual)
 ieee1275_write(stdout_ihandle,"test",4,&wrote);
 ieee1275_enter(); //hence the "Type  'go' to resume"
 ieee1275_exit();  //hence the "Program terminated"

So I think I can say OB calls work, have they argument(s) and or return
value(s) or not !
Time to go (for the last day) to the LSM now :).

Vincent Pelletier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCz2p+FEQoKRQyjtURArPuAKCwOLP8ZSyHNK7nxnwS5bvKuYUlZQCfaFd8
UTof30pCDuP9ZrHhrwFwRdk=
=k0TW
-----END PGP SIGNATURE-----

	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com




  reply	other threads:[~2005-07-09  6:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 12:12 rmll - grub2 presentation Vincent Guffens
2005-07-05 15:59 ` Marco Gerards
2005-07-05 16:32   ` Yoshinori K. Okuji
2005-07-05 20:26     ` Vincent Pelletier
2005-07-08  5:30       ` Yoshinori K. Okuji
2005-07-08 14:12         ` Vincent Pelletier
2005-07-09  2:56           ` Yoshinori K. Okuji
2005-07-09  6:11             ` Vincent Pelletier [this message]
2005-07-09 11:28             ` Marco Gerards

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=42CF6A7E.8020009@yahoo.fr \
    --to=subdino2004@yahoo.fr \
    --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.