Re: [PATCH v8 1/5] riscv: Pass Object to register_cpu_props instead of DeviceState

2023-01-28 Thread Bin Meng
On Thu, Jan 26, 2023 at 12:21 AM Alexandre Ghiti wrote: > > One can extract the DeviceState pointer from the Object pointer, so pass > the Object for future commits to access other fields of Object. > > No functional changes intended. > > Signed-off-by: Alexandre Ghiti > Reviewed-by: Alistair Fra

[PATCH v8 1/5] riscv: Pass Object to register_cpu_props instead of DeviceState

2023-01-25 Thread Alexandre Ghiti
One can extract the DeviceState pointer from the Object pointer, so pass the Object for future commits to access other fields of Object. No functional changes intended. Signed-off-by: Alexandre Ghiti Reviewed-by: Alistair Francis Reviewed-by: Frank Chang Reviewed-by: Andrew Jones --- target/