mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-09 20:35:44 +00:00
doc: update coding guidelines
- add a rule for pointer arithmetic operation - add a rule about ABI conformance - update GCC reference Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
committed by
David Kinder
parent
f60896951b
commit
24b89eb8c4
@@ -825,3 +825,16 @@ Compliant example::
|
||||
movl $0x1, %eax
|
||||
|
||||
|
||||
|
||||
ABI Conformance
|
||||
***************
|
||||
|
||||
ASM-ABI-01: The implementation of Assembly code shall conform to the System V x86/AMD ABI
|
||||
=========================================================================================
|
||||
|
||||
The implementation of Assembly code shall conform to the function calling
|
||||
sequence defined in System V Application Binary Interface AMD64 Architecture
|
||||
Processor Supplement.
|
||||
|
||||
|
||||
Refer to the `System V Application Binary Interface AMD64 Architecture Processor Supplement <https://software.intel.com/sites/default/files/article/402129/mpx-linux64-abi.pdf>`_.
|
||||
|
Reference in New Issue
Block a user