Hello all,

As I have been browsing through QEMU's source code, I've noticed a
hardware model for a temperature sensor called TMP105. This model
implements the function tmp105_set(I2CSlave *i2c, int temp) declared
in i2c.h [0, 1].

Surprisingly, however, I cannot find any code which calls this setter
function despite the fact that "CONFIG_TMP105=y" in at least one
target (e.g. [2]).

I am keen to learn who uses this virtual device, i.e. who calls
tmp105_set(). This may answer my question if there exists a
"third-party" model which could simulate temperature changes in the
chip.

With kind regards,
Alex

[0] https://github.com/qemu/qemu/blob/master/hw/tmp105.c#L68
[1] https://github.com/qemu/qemu/blob/master/hw/i2c.h#L77
[2] https://github.com/qemu/qemu/blob/master/default-configs/arm-softmmu.mak#L17

Reply via email to