Lines Matching refs:_nvramImage
55 _nvramImage = IONew(UInt8, kIODTNVRAMImageSize);
56 if (_nvramImage == 0) return false;
82 _nvramController->read(0, _nvramImage, kIODTNVRAMImageSize);
94 currentLength = ((UInt16 *)(_nvramImage + currentOffset))[1] * 16;
99 if (strncmp((const char *)_nvramImage + currentOffset + 4,
103 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
109 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
113 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
120 *(UInt8 *)(_nvramImage + currentOffset));
122 (const char *)(_nvramImage + currentOffset + 4), 12);
148 _ofImage = _nvramImage + _ofPartitionOffset;
150 _xpramImage = _nvramImage + _xpramPartitionOffset;
152 _nrImage = _nvramImage + _nrPartitionOffset;
157 _nvramImage[freePartitionOffset] = 0xa1;
159 _nvramImage[freePartitionOffset + 1] = 0;
161 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
170 _piImage = _nvramImage + _piPartitionOffset;
176 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
180 _nvramImage[freePartitionOffset + 1] =
181 calculatePartitionChecksum(_nvramImage + freePartitionOffset);
188 _nvramImage[freePartitionOffset] = 0x7f;
190 _nvramImage[freePartitionOffset + 1] = 0;
192 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
195 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
198 _nvramImage[freePartitionOffset + 1] =
199 calculatePartitionChecksum(_nvramImage + freePartitionOffset);
205 _piImage = _nvramImage + _piPartitionOffset;
218 _nvramController->write(0, _nvramImage, kIODTNVRAMImageSize);
444 bcopy(_nvramImage + _xpramPartitionOffset + offset, buffer, length);
458 bcopy(buffer, _nvramImage + _xpramPartitionOffset + offset, length);
520 bcopy(_nvramImage + partitionOffset + offset, buffer, length);
547 bcopy(buffer, _nvramImage + partitionOffset + offset, length);