Re: QEMU Development Questions

2020-04-17 Thread Peter Maydell
On Fri, 17 Apr 2020 at 16:50, Randy Yates wrote: > > Thanks for the answers I've received so far - much appreciated. > > Is there a standard way to define your own custom coprocessor CP15 registers? It can be done but you very likely don't want to do it... thanks -- PMM

Re: QEMU Development Questions

2020-04-17 Thread Randy Yates
Thanks for the answers I've received so far - much appreciated. Is there a standard way to define your own custom coprocessor CP15 registers? Randy 1 Randy Yates, DSP/Embedded Firmware Developer Digital Signal Labs http://www.digitalsigna

Re: QEMU Development Questions

2020-04-17 Thread BALATON Zoltan
On Thu, 16 Apr 2020, Randy Yates wrote: 1. Apparently the CPU has properties. What are the specific properties and their defaults? How do you change a property's default value? Maybe look for DEFINE_PROP_ to find out, For example: qemu/target/arm/cpu.c:2757: static Property arm_cp

Re: QEMU Development Questions

2020-04-17 Thread Peter Maydell
On Fri, 17 Apr 2020 at 09:07, Randy Yates wrote: > 2.1 Top-Level Architecture > > There is a MachineClass, MachineState, and MachineInstance. What are purposes > of these logical divisions? class vs state is QEMU's usual object model (QOM) structs: there is one instance of a class struct which

QEMU Development Questions

2020-04-17 Thread Randy Yates
1 Introduction I came to the QEMU project with the goal of writing a new machine. We are reverse engineering this machine and do not have the SoC reference manual. We do have the flash code, the bare metal startup code. Thus we're having to guess and infer a lot about the machine from t