Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.
  1. Is PRAM stored on the same NVRAM chip that non-PRAM variables are stored. I always assumed that NVRAM was the UEFI firmware chip on the logic board. Are all of these one in the same (NVRAM - PRAM - UEFI firmware), basically are they all stored on the same chip?
  2. How do you set the PRAM variables like you set the NVRAM variables with the nvram command.

Thanks :-)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, PRAM is stored on the same NVRAM chip as the firmware variables, but it is managed separately. It actually shows up as a device in the firmware device tree.

HT1242: What's stored in PRAM

When you reset one, you reset the other.

HT1379: Resetting your Mac's PRAM and NVRAM

AFAIK, Apple has never supported direct developer access to PRAM, so it is not documented well (or at all). The functions readXPRAM and writeXPRAM can be used to access the raw bytes, although these days they are just wrappers around IOKIT functions which access the APL,MacOS75 partition in NVRAM.

The nvram command line program only manipulates the firmware variables stored in NVRAM, and so does not let you access the PRAM partition.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.