cvs commit: src/sys/powerpc/powerpc vm_machdep.c

Marcel Moolenaar xcllnt at
Fri Dec 29 10:10:30 PST 2006

On Dec 28, 2006, at 4:51 PM, Garance A Drosehn wrote:

> At 11:56 PM +0000 12/28/06, Marcel Moolenaar wrote:
>> marcel      2006-12-28 23:56:50 UTC
>>   FreeBSD src repository
>>   Modified files:
>>     sys/powerpc/powerpc  vm_machdep.c
>>   Log:
>>   In cpu_reset(), call OF_reboot() instead of OF_exit(). The latter
>>   doesn't do a reboot and has been observed to reset the NVRAM to its
>>   default values.
> Ooo.  Could this cause an 'nvalias' to disappear?

I don't know. I only observed that the environment was reset and I
had to fix the console and boot settings again.

>   I keep trying to
> store away some long device aliases in nvram on my Mac Mini, and it
> it seems like they always just disappear on me.  I haven't tried to
> do any alternatives with the 'nvedit' command yet, as I assume those
> attempts would hit the same fate.

Do you typically use shutdown -h? There's a use of OF_exit() in  
still. I only changed the cpu_reset() case, which is called from DDB  
you enter reset for example.

Marcel Moolenaar
xcllnt at

More information about the cvs-src mailing list