Port-powerpc archive

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

Once again, three arguments vs. five



In examing ofwboot I noticed a slight discrepency about this - I should
send-pr; I'll install it on FreeBSD tonight.

main() [in boot.c] takes no parameters; but, _start() [in Locore.c] passes
it the fourth and fifth arguments we were unsure about.  It seems to me
that those arguments might not even exist on other OpenFirmware
implementations; they are not used at all.  main is defined as taking no
arguments, but passed two.


Dan

---------------------------------------------------------------------
| Dan Jacobowitz                 | drow%drow.net@localhost                    |
|  Administrator Extraordinaire  | Web site coming someday          |
| My opinions are my own -       | Day Job: http://www.wwwcomm.com  |
| My mistakes are someone else's |                                  |
---------------------------------------------------------------------





Home | Main Index | Thread Index | Old Index