mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target: Unify QOM style
Enforce the style described by commit 067109a11c
("docs/devel:
mention the spacing requirement for QOM"):
The first declaration of a storage or class structure should
always be the parent and leave a visual space between that
declaration and the new code. It is also useful to separate
backing for properties (options driven by the user) and internal
state to make navigation easier.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231013140116.255-2-philmd@linaro.org>
This commit is contained in:
parent
bb6cf6f016
commit
6ee45fac56
37 changed files with 4 additions and 84 deletions
|
@ -144,9 +144,7 @@ typedef struct CPUArchState {
|
|||
* A AVR CPU.
|
||||
*/
|
||||
struct ArchCPU {
|
||||
/*< private >*/
|
||||
CPUState parent_obj;
|
||||
/*< public >*/
|
||||
|
||||
CPUAVRState env;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue