vmstate: port twl92230 device
Just don't look. struct tm members are ints' and they are sent as uint16_t.VMState code complains as it should. Have to create hacky int32_as_uint16type. Don't ever think about copying it
Signed-off-by: Juan Quintela <quintela@redhat.com>...
vmstate: add support for arrays of pointers
We need this to send arrays of timers
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
lm832x: make fields to have the same types that they are saved/loaded
They were saved as uint8_t already. To make things simpler, I justreg == -1 used to indicate an error, I create LM832x_GENERAL_ERRORwith vale 0xff to represet it
vmstate: port lm832x device
vmstate: remove i2c_slave_load/save
All its users moved to vmstate
x86: hflags is not modified at all, just save it directly
x86: make a20_mask int32_t
This makes the savevm code correct, and sign extensins gives us exactlywhat we need (namely, sign extend to 64 bits when used with 64bit addresess.
Once there, change 0x100000 for 1 << 20, that maks all a20 use the same syntax....
tmp105: change len and alorm to uint8_t
They were using only with very small integers, and they are sent/read asbytes. They can't become negative as far as I can see
vmstate: port tmp105 device
twl92230: change pwrbtn_state to uint8_t
its value is always the level of an interrupt, 0 or 1
View all revisions | View revisions
Also available in: Atom