Skip to content

Commit 0cab90d

Browse files
committed
Harmonize sections references titles
As we use a Sphinx extension for all our references to the UEFI specification, all those references mention the section title after the section number automatically. Among our other references written manually, some do mention the section title (FF-A) and some do not (BBR & Devicetree). Harmonize all our sections references to mention the referenced section title after the § sign and the section number. This has the benefit that references become easier to follow across revisions when updating the referenced specifications. Also, document the convention in the README. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
1 parent ace803e commit 0cab90d

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,17 @@ In general, try to keep the text width to at most 80 columns.
156156
Try to write footnotes contents as close a possible to the places referencing
157157
them.
158158

159+
When referencing other specifications, use the following format::
160+
161+
<reference name>_ § <section number> <section title>
162+
163+
For example::
164+
165+
[DTSPEC]_ § 5 Flattened Devicetree (DTB) Format
166+
167+
As a special case, references to the UEFI specification should use the Sphinx
168+
extension described below instead.
169+
159170
Sphinx Extensions
160171
-----------------
161172

source/chapter1-about.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ It does not define a standardized abstract virtual machine view for a Guest
155155
Operating System.
156156

157157
This specification is referenced by the Arm Base Boot Requirements
158-
Specification [ArmBBR]_ § 3.2.
158+
Specification [ArmBBR]_ § 3.2 EBBR recipe.
159159
The UEFI requirements found in this document are similar but not identical to
160160
the requirements found in BBR.
161161
EBBR provides greater flexibility to support embedded designs which cannot

source/chapter2-uefi.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,11 @@ Devicetree
381381

382382
If firmware provides a Devicetree system description then it must be provided
383383
in Flattened Devicetree Blob (DTB) format version 17 or higher as described in
384-
[DTSPEC]_ § 5.
384+
[DTSPEC]_ § 5 Flattened Devicetree (DTB) Format.
385385
The DTB Nodes and Properties must be compliant with the requirements listed in
386-
[DTSPEC]_ § 3 & 4 and with the requirements listed in the following table, which
387-
take precedence. [#DTSchNote]_
386+
[DTSPEC]_ § 3 Device Node Requirements & [DTSPEC]_ § 4 Device Bindings, and with
387+
the requirements listed in the following table, which take precedence.
388+
[#DTSchNote]_
388389

389390
.. [#DTSchNote] The validity of the DTB and its conformance to [DTSPEC]_ can be
390391
verified automatically with the tools and schemas in [DTSCHEMA]_.
@@ -396,10 +397,10 @@ take precedence. [#DTSchNote]_
396397
* - Name
397398
- Requirement
398399
* - ``/chosen``
399-
- This Node is required. ([DTSPEC]_ § 3.6)
400+
- This Node is required. ([DTSPEC]_ § 3.6 /chosen Node)
400401
* - ``/chosen/stdout-path``
401402
- This Property is required. It is necessary for console output.
402-
([DTSPEC]_ § 3.6)
403+
([DTSPEC]_ § 3.6 /chosen Node)
403404

404405
The DTB must be contained in memory of type `EfiACPIReclaimMemory`.
405406
[#ACPIMemNote]_

source/chapter3-secureworld.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ version compatible with caller version 1.2. [#FFANote]_
5252
FF-A v1.2 introduced support for multiple services UUIDs in a partition,
5353
which eases services discovery, as well as the supporting
5454
`FFA_MSG_SEND_DIRECT_REQ2` ABI.
55-
As per the FF-A specification § 13.2 FFA_VERSION, all callee versions 1.x,
56-
with x >= 2, are compatible with caller versions 1.0 to 1.x, which includes
57-
caller version 1.2.
55+
As per the FF-A specification [FFA]_ § 13.2 FFA_VERSION, all callee versions
56+
1.x, with x >= 2, are compatible with caller versions 1.0 to 1.x, which
57+
includes caller version 1.2.
5858
5959
RISC-V Multiprocessor Startup Protocol
6060
======================================

0 commit comments

Comments
 (0)