History log of /rk3399_ARM-atf/docs/process/coding-guidelines.rst (Results 1 – 25 of 29)
Revision Date Author Comments
# 0bf0d928 30-Jan-2024 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge "docs: import MISRA compliance spreadsheet" into integration


# 6c2c8528 26-Jan-2024 Sandrine Bailleux <sandrine.bailleux@arm.com>

docs: import MISRA compliance spreadsheet

TF-A aims to comply with MISRA C:2012 Guidelines. We maintain a list of
all rules and directives and whether the project aims to comply with
them or not. A

docs: import MISRA compliance spreadsheet

TF-A aims to comply with MISRA C:2012 Guidelines. We maintain a list of
all rules and directives and whether the project aims to comply with
them or not. A rationale is given for each deviation.

This list used to be provided as an '.ods' spreadsheet file hosted on
developer.trustedfirmware.org. This raises the following issues:

- The list is not version-controlled under the same scheme as TF-A
source code. This could lead to synchronization issues between the
two.

- The file needs to be open in a separate program, which is not as
straightforward as reading it from TF-A documentation itself.

- developer.trustedfirmware.org is deprecated, thus the file cannot be
safely kept there for any longer.

To address these issues, convert the '.ods' file into a CSV (Comma
Separated Values) file, which we import into TF-A source tree itself.
Make use of Sphinx's ability to process and render CSV files as tables
to display that information directly into the Coding Guidelines
document.

Also make the following minor changes along the way:

- Remove dead link to MISRA C:2012 Guidelines page. Replace it with a
link to a Wikipedia page to give a bit of context to the reader.

- We no longer use Coverity for MISRA compliance checks. Instead, we
use ECLAIR nowadays. Reflect this in the document.

Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Change-Id: I422fdd8246f4f9c2498c1be18115408a873b86ac

show more ...


# 919e25e9 08-Jun-2023 Manish V Badarkhe <manish.badarkhe@arm.com>

Merge "docs: add detail to assembly language guideline" into integration


# 2ce78bff 24-Mar-2023 Boyan Karatotev <boyan.karatotev@arm.com>

docs: add detail to assembly language guideline

Assembly language is rarely required and when it is, there are a lot of
helpers available to reduce the amount needed. Update the guidelines to
give p

docs: add detail to assembly language guideline

Assembly language is rarely required and when it is, there are a lot of
helpers available to reduce the amount needed. Update the guidelines to
give pointers to them.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ic484e4ba57242594c351a9185ecb625d6e5dc223

show more ...


# 2b7150b3 06-Mar-2023 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge "docs: discourage usage of weak functions" into integration


# 8a665973 08-Feb-2023 Sandrine Bailleux <sandrine.bailleux@arm.com>

docs: discourage usage of weak functions

As a coding guideline, we now discourage introducing new weak
functions in platform-agnostic code going forward and provide the
rationale for this.

This was

docs: discourage usage of weak functions

As a coding guideline, we now discourage introducing new weak
functions in platform-agnostic code going forward and provide the
rationale for this.

This was already enforced most of the time in code reviews but this
patch makes it explicit in the project's documentation.

Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Change-Id: I88f4a55788899fb4146c4d26afb3a7418376b30c

show more ...


# a06c5cad 10-Nov-2022 Manish V Badarkhe <manish.badarkhe@arm.com>

Merge "chore(docs): fix broken url references to arm procedure call" into integration


# 702b46cb 10-Nov-2022 Govindraj Raja <govindraj.raja@arm.com>

chore(docs): fix broken url references to arm procedure call

Couple for urls under section: `5.6. Use of built-in C and libc
data types` from docs has broken urls since the new arm procedure
call do

chore(docs): fix broken url references to arm procedure call

Couple for urls under section: `5.6. Use of built-in C and libc
data types` from docs has broken urls since the new arm procedure
call doc is moved to be part of `ARM-software/abi-aa`.

Change-Id: Ied184ed56c8335d4cbc687e56962439091a18e42
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>

show more ...


# b39dca40 16-Sep-2020 Madhukar Pappireddy <madhukar.pappireddy@arm.com>

Merge "doc: Recommend using C rather than assembly language" into integration


# 70b6701b 07-Sep-2020 joanna.farley <joanna.farley@arm.com>

Merge "doc: Improve contribution guidelines" into integration


# 7969747e 14-Aug-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

doc: Improve contribution guidelines

- Add some guidance about the type of information a patch author should
provide to facilitate the review (and for future reference).

- Make a number of implic

doc: Improve contribution guidelines

- Add some guidance about the type of information a patch author should
provide to facilitate the review (and for future reference).

- Make a number of implicit expectations explicit:
- Every patch must compile.
- All CI tests must pass.

- Mention that the patch author is expected to add reviewers and explain
how to choose them.

- Explain the patch submission rules in terms of Gerrit labels.

Also do some cosmetic changes, like adding empty lines, shuffling some
paragraphs around.

Change-Id: I6dac486684310b5a35aac7353e10fe5474a81ec5
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>

show more ...


# 768f8331 21-Aug-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge "doc: Minor formatting improvement in the coding guidelines document" into integration


# 06ffa166 20-Aug-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

doc: Recommend using C rather than assembly language

Add a section for that in the coding guidelines.

Change-Id: Ie6819c4df5889a861460eb96acf2bc9c0cfb494e
Signed-off-by: Sandrine Bailleux <sandrine

doc: Recommend using C rather than assembly language

Add a section for that in the coding guidelines.

Change-Id: Ie6819c4df5889a861460eb96acf2bc9c0cfb494e
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>

show more ...


# 9061c0c9 20-Aug-2020 Sandrine Bailleux <sandrine.bailleux@arm.com>

doc: Minor formatting improvement in the coding guidelines document

Change-Id: I5362780db422772fd547dc8e68e459109edccdd0
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>


# cf96f2ed 06-Feb-2020 György Szing <gyorgy.szing@arm.com>

Merge "doc: Split and expand coding style documentation" into integration


# e63f5d12 16-May-2019 Paul Beesley <paul.beesley@arm.com>

doc: Split and expand coding style documentation

This patch expands the coding style documentation, splitting it
into two documents: the core style rules and extended guidelines.
Note that it does n

doc: Split and expand coding style documentation

This patch expands the coding style documentation, splitting it
into two documents: the core style rules and extended guidelines.
Note that it does not redefine or change the coding style (aside
from section 4.6.2) - generally, it is only documenting the
existing style in more detail.

The aim is for the coding style to be more readable and, in turn,
for it to be followed by more people. We can use this as a more
concrete reference when discussing the accepted style with external
contributors.

Change-Id: I87405ace9a879d7f81e6b0b91b93ca69535e50ff
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Signed-off-by: Petre-Ionut Tudor <petre-ionut.tudor@arm.com>

show more ...


# 7921fe6a 11-Oct-2019 Paul Beesley <paul.beesley@arm.com>

Merge "doc: Misc syntax and spelling fixes" into integration


# be653a69 04-Oct-2019 Paul Beesley <paul.beesley@arm.com>

doc: Misc syntax and spelling fixes

Tidying up a few Sphinx warnings that had built-up over time.
None of these are critical but it cleans up the Sphinx output.

At the same time, fixing some spelli

doc: Misc syntax and spelling fixes

Tidying up a few Sphinx warnings that had built-up over time.
None of these are critical but it cleans up the Sphinx output.

At the same time, fixing some spelling errors that were detected.

Change-Id: I38209e235481eed287f8008c6de9dedd6b12ab2e
Signed-off-by: Paul Beesley <paul.beesley@arm.com>

show more ...


# 2d78a1c6 12-Jul-2019 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge "Fix RST rendering problem" into integration


# 9f0a0bbd 09-Jul-2019 John Tsichritzis <john.tsichritzis@arm.com>

Fix RST rendering problem

Change-Id: Ic5aab23b549d0bf8e0f7053b46fd59243214aac1
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>


# 0d220b35 01-Jul-2019 Soby Mathew <soby.mathew@arm.com>

Merge changes from topic "banned_api_list" into integration

* changes:
Fix the License header template in imx_aipstz.c
docs: Add the list of banned/use with caution APIs


# 140c8311 20-Jun-2019 Soby Mathew <soby.mathew@arm.com>

docs: Add the list of banned/use with caution APIs

Credit to sam.ellis@arm.com for the input to create the list.

Change-Id: Id70a8eddc5f2490811bebb278482c61950f10cce
Signed-off-by: Soby Mathew <sob

docs: Add the list of banned/use with caution APIs

Credit to sam.ellis@arm.com for the input to create the list.

Change-Id: Id70a8eddc5f2490811bebb278482c61950f10cce
Signed-off-by: Soby Mathew <soby.mathew@arm.com>

show more ...


# ced17112 23-May-2019 Sandrine Bailleux <sandrine.bailleux@arm.com>

Merge changes from topic "pb/sphinx-doc" into integration

* changes:
doc: Use proper note and warning annotations
doc: Refactor contributor acknowledgements
doc: Reorganise images and update l

Merge changes from topic "pb/sphinx-doc" into integration

* changes:
doc: Use proper note and warning annotations
doc: Refactor contributor acknowledgements
doc: Reorganise images and update links
doc: Set correct syntax highlighting style
doc: Add minimal glossary
doc: Remove per-page contents lists
doc: Make checkpatch ignore rst files
doc: Format security advisory titles and headings
doc: Reformat platform port documents
doc: Normalise section numbering and headings
doc: Reword document titles

show more ...


# e1c5026a 13-Mar-2019 Paul Beesley <paul.beesley@arm.com>

doc: Use proper note and warning annotations

The documentation contains plenty of notes and warnings. Enable
special rendering of these blocks by converting the note prefix
into a .. note:: annotati

doc: Use proper note and warning annotations

The documentation contains plenty of notes and warnings. Enable
special rendering of these blocks by converting the note prefix
into a .. note:: annotation.

Change-Id: I34e26ca6bf313d335672ab6c2645741900338822
Signed-off-by: Paul Beesley <paul.beesley@arm.com>

show more ...


# 29c02529 13-Mar-2019 Paul Beesley <paul.beesley@arm.com>

doc: Set correct syntax highlighting style

Several code blocks do not specify a language for syntax
highlighting. This results in Sphinx using a default highlighter
which is Python.

This patch adds

doc: Set correct syntax highlighting style

Several code blocks do not specify a language for syntax
highlighting. This results in Sphinx using a default highlighter
which is Python.

This patch adds the correct language to each code block that doesn't
already specify it.

Change-Id: Icce1949aabfdc11a334a42d49edf55fa673cddc3
Signed-off-by: Paul Beesley <paul.beesley@arm.com>

show more ...


12