Read or write an array of bytes to CMOS.
This function is set up as a non-member helper function. It successively reads/writes
Note that the byte array passed as a parameter need not be zero-terminated.
|count ||bytes from/to CMOS.|
|cmos ||Pass in the ICmosRW object to operate on |
|indexPort ||The IO port to write the offset to |
|dataPort ||The IO port to read/write data after setting the index via indexPort |
|offset ||The offset within CMOS. CMOS is typically multiple 256byte pages. |
|source ||byte array to store the CMOS contents. must be allocated by caller. |
|count ||The number of bytes to read/write. |
Definition at line 38 of file CmosRW.cpp.
References Suppressable::resumeNotification(), Suppressable::suppressNotification(), u32, u8, and ICmosRW::writeByte().
Referenced by CmosTokenD5::setString(), and CmosTokenD4::setString().