reading and writing nvram variables

From: John Buswell <hidden>
Date: 2000-02-22 21:32:59

Hi,

I'm working on a small PPC project, and I'm trying to read/write
environment variables from OpenFirmware (on a iMac/iBook).

I have been looking at prom.c from the kernel sources, and wondered if
there was something already written to do that, or anyone with any ideas
on how to achieve it. The application is running before Linux is loaded,
so I cannot use /dev/nvram etc.

Thanks

John I.Buswell
Development Engineer
MandrakeSoft


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help