Open Firmware available after kernel is running?
Rob Ballantyne
robballantyne3 at gmail.com
Thu Oct 18 19:27:54 UTC 2012
Hi All,
I was wondering if the Open Firmware client interface is available
after the kernel is booted.
For example, could I write a kernel module that accessed Open
Firmware via the client interface? I'm supposing that there is likely
a static variable that points to the client interface that is stashed
there in early startup -- I understand open firmware passes it's own
address to the client program on the stack. However, I'm also
guessing that the kernel may have taken completely over the machine in
a way that doesn't permit access to the OF client interface.
It appears that ~/sys/powerpc/aim/locore64.S stashes the entry point
for OF in openfirmware_entry - is this still usable after the system
is up and running?
Thanks,
Rob
More information about the freebsd-ppc
mailing list