File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3501,7 +3501,13 @@ function. Some detailed rules are listed below:
3501
3501
enough with prior rules, it shall be named with the module name as prefix, such
3502
3502
as 'vie_read_mmio'.
3503
3503
5) If the function is a wrapper of inline Assembly codes, it shall be named with
3504
- the format 'asm_<Assembly instruction mnemonic>', such as 'asm_pause'.
3504
+ one of the following formats:
3505
+
3506
+ a) asm_<Assembly instruction mnemonic>, such as 'asm_pause'.
3507
+ b) If the Assembly instruction mnemonic does not clearly indicate the
3508
+ purpose of the function or the function includes multiple Assembly
3509
+ instruction statements, the function shall be named with 'asm\_ ' as
3510
+ prefix and apply the other non-assembly function naming rules.
3505
3511
6) <nouns> mentioned in prior rules may either be one noun or multiple nouns, as
3506
3512
long as it could clearly illustrate the object.
3507
3513
You can’t perform that action at this time.
0 commit comments