| 72 | } |
| 73 | |
| 74 | bool Intel8254x::CheckForEEPROM(){ |
| 75 | WriteMem32(I8254_REGISTER_EEPROM, 1); |
| 76 | |
| 77 | for (int i = 0; i < 1000; i++) { |
| 78 | uint32_t reg = ReadMem32(I8254_REGISTER_EEPROM); |
| 79 | if(reg & 0x10) return true; |
| 80 | } |
| 81 | |
| 82 | return false; |
| 83 | } |
| 84 | |
| 85 | void Intel8254x::DetectAndInitialize(){ |
| 86 | for(int i = 0; i < supportedDeviceCount; i++){ |
nothing calls this directly
no outgoing calls
no test coverage detected