MCPcopy Create free account
hub / github.com/acidanthera/VirtualSMC / probe

Method probe

Sensors/SMCProcessor/SMCProcessor.cpp:328–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328IOService *SMCProcessor::probe(IOService *provider, SInt32 *score) {
329 if (getKernelVersion() < KernelVersion::Lion) {
330 DBGLOG("scpu", "unsupported before 10.7");
331 return nullptr;
332 }
333
334 return IOService::probe(provider, score);
335}
336
337bool SMCProcessor::start(IOService *provider) {
338 DBGLOG("scpu", "starting up cpu sensors");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected