docs/misra: introduce rules.rst
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 1 Jun 2022 01:44:01 +0000 (18:44 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 8 Jun 2022 00:43:47 +0000 (17:43 -0700)
commit4b08435f586e3f605fdc13f7cb38484f37ad42e9
treea318642518eb61d10004d89bfc72efc34d25d167
parentcea9ae06229577cd5b77019ce122f9cdd1568106
docs/misra: introduce rules.rst

Introduce a list of MISRA C rules that apply to the Xen hypervisor. The
list is in RST format.

Specify that rules deviations need to be documented. Introduce a
documentation tag for in-code comments to mark them as deviations. Also
mention that other documentation mechanisms are work-in-progress.

Add a mention of the new list to CODING_STYLE.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
CODING_STYLE
docs/index.rst
docs/misra/rules.rst [new file with mode: 0644]