grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rmll - grub2 presentation


From: Vincent Pelletier
Subject: Re: rmll - grub2 presentation
Date: Sat, 09 Jul 2005 08:11:10 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

-----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: /address@hidden,0/address@hidden,1/address@hidden,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 via email to

[Prev in Thread] Current Thread [Next in Thread]