mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 04:02:05 +00:00
doc: update prefix format in coding guidelines
- update prefix format in coding guidelines Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
parent
a4e28213c2
commit
a6bba6bc3d
@ -3356,8 +3356,8 @@ Compliant example::
|
|||||||
#define Max(x, y) ((x) < (y)) ? (y) : (x)
|
#define Max(x, y) ((x) < (y)) ? (y) : (x)
|
||||||
|
|
||||||
|
|
||||||
C-NC-03: Data structures exposed to external components shall be named with prefix 'acrn'
|
C-NC-03: Data structures exposed to external components shall be named with prefix 'acrn\_'
|
||||||
=========================================================================================
|
===========================================================================================
|
||||||
|
|
||||||
The data structure types include struct, union, and enum.
|
The data structure types include struct, union, and enum.
|
||||||
This rule applies to the data structure with all the following properties:
|
This rule applies to the data structure with all the following properties:
|
||||||
@ -3382,8 +3382,8 @@ Compliant example::
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
C-NC-04: Data structures only used by hypervisor shall be named with prefix 'hv'
|
C-NC-04: Data structures only used by hypervisor shall be named with prefix 'hv\_'
|
||||||
================================================================================
|
==================================================================================
|
||||||
|
|
||||||
The data structure types include struct, union, and enum.
|
The data structure types include struct, union, and enum.
|
||||||
This rule applies to the data structure with all the following properties:
|
This rule applies to the data structure with all the following properties:
|
||||||
|
Loading…
Reference in New Issue
Block a user