Lines Matching refs:_nvramImage

54   _nvramImage = IONew(UInt8, kIODTNVRAMImageSize);
55 if (_nvramImage == 0) return false;
81 _nvramController->read(0, _nvramImage, kIODTNVRAMImageSize);
93 currentLength = ((UInt16 *)(_nvramImage + currentOffset))[1] * 16;
98 if (strncmp((const char *)_nvramImage + currentOffset + 4,
102 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
108 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
112 } else if (strncmp((const char *)_nvramImage + currentOffset + 4,
119 *(UInt8 *)(_nvramImage + currentOffset));
121 (const char *)(_nvramImage + currentOffset + 4), 12);
147 _ofImage = _nvramImage + _ofPartitionOffset;
149 _xpramImage = _nvramImage + _xpramPartitionOffset;
151 _nrImage = _nvramImage + _nrPartitionOffset;
156 _nvramImage[freePartitionOffset] = 0xa1;
158 _nvramImage[freePartitionOffset + 1] = 0;
160 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
169 _piImage = _nvramImage + _piPartitionOffset;
175 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
179 _nvramImage[freePartitionOffset + 1] =
180 calculatePartitionChecksum(_nvramImage + freePartitionOffset);
187 _nvramImage[freePartitionOffset] = 0x7f;
189 _nvramImage[freePartitionOffset + 1] = 0;
191 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
194 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
197 _nvramImage[freePartitionOffset + 1] =
198 calculatePartitionChecksum(_nvramImage + freePartitionOffset);
204 _piImage = _nvramImage + _piPartitionOffset;
220 _nvramController->write(0, _nvramImage, kIODTNVRAMImageSize);
464 bcopy(_nvramImage + _xpramPartitionOffset + offset, buffer, length);
478 bcopy(buffer, _nvramImage + _xpramPartitionOffset + offset, length);
540 bcopy(_nvramImage + partitionOffset + offset, buffer, length);
567 bcopy(buffer, _nvramImage + partitionOffset + offset, length);