I believe things are passed in an array. I think the reason it is in
mostly asm is because silo is a 32-bit program, and the openboot commands
are expected to be sent in a 64-bit array. So normal C calling conventions
don't mix.
Just copy the p1275 command stuff from silo. It's a simple and clean
interface.
On Sat, Jan 15, 2005 at 09:29:55PM +0100, Vincent Pelletier wrote:
Hi.
I'm working on grub2 port on ultrasparc, and I'm searching for docs
describing how args are passed to the callback function, and how to read
the result.
I saw silo and kernel uses lots of asm to do that, and I would like to
avoid it as much as possible.
Thanks,
Vincent Pelletier
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]