@@ -1522,7 +1522,7 @@ Further reading for other annotations:
15221522 }];
15231523}
15241524
1525- def CHERIOTMMIODeviceDocs : Documentation {
1525+ def CHERIoTMMIODeviceDocs : Documentation {
15261526 let Category = DocCatVariable;
15271527 let Content = [{
15281528Indicates that the global it refers to must be treated as a cross-compartment
@@ -1535,7 +1535,7 @@ qualifiers.
15351535of the MMIO-bound device. An example of this is ``"uart"``. The
15361536``"<permissions_encoding>"`` indicates the permissions of the capability
15371537resulting from the import. The permissions encoding is a string of variable
1538- length. The symbols allowed in the string are ``R``, ``W``, ``c`` and ``m ``,
1538+ length. The symbols allowed in the string are ``R``, ``W``, ``c``, ``m`` and ``g ``,
15391539whose meaning is explained in the table below.
15401540
15411541
@@ -1545,18 +1545,19 @@ whose meaning is explained in the table below.
15451545 "``R``","Load (Read)", "May be used to read.",""
15461546 "``W``","Store (Write)", "May be used to write.",""
15471547 "``c``","Load / Store Capability", "May be used to load or store capabilities as well as non-capability data.","``R`` or ``W``"
1548- "``m``","Load Mutable", "May be used to load capabilities with write permission.","``R``"
1548+ "``m``","Load Mutable", "May be used to load capabilities with write permission.","``R`` and ``c``"
1549+ "``g``","Load Global", " May be used to load capabilities with the global permission.","``R`` and ``c``"
15491550
15501551Examples of valid encodings are: ``"RWcm"`` (all permissions), ``"R"`` (read
15511552only), etc. Note that the order in which symbols appear is not relevant: for
15521553example, `"RWcm"` and `"mcWR"` are both valid and entail the same permissions.
15531554
1554- **Warning**: The ``<permissions_encoding>`` parameter is optional, and if no encoding is given ``"RWcm "`` is assumed.
1555+ **Warning**: The ``<permissions_encoding>`` parameter is optional, and if no encoding is given ``"RWcmg "`` is assumed.
15551556 }];
15561557}
15571558
15581559
1559- def CHERIOTSharedObjectDocs : Documentation {
1560+ def CHERIoTSharedObjectDocs : Documentation {
15601561 let Category = DocCatVariable;
15611562 let Content = [{
15621563Indicates that the global it refers to must be treated as a cross-compartment
@@ -1570,7 +1571,7 @@ cross-compartment shared object. The target global must have the `extern` and
15701571of the shared object. The ``"<permissions_encoding>"`` indicates the permissions
15711572of the capability resulting from the import. The permissions encoding is a
15721573string of variable length. The symbols allowed in the string are ``R``, ``W``,
1573- ``c`` and ``m ``, whose meaning is explained in the table below.
1574+ ``c``, ``m`` and ``g ``, whose meaning is explained in the table below.
15741575
15751576
15761577.. csv-table:: Supported Syntaxes
@@ -1579,13 +1580,14 @@ string of variable length. The symbols allowed in the string are ``R``, ``W``,
15791580 "``R``","Load (Read)", "May be used to read.",""
15801581 "``W``","Store (Write)", "May be used to write.",""
15811582 "``c``","Load / Store Capability", "May be used to load or store capabilities as well as non-capability data.","``R`` or ``W``"
1582- "``m``","Load Mutable", "May be used to load capabilities with write permission.","``R``"
1583+ "``m``","Load Mutable", "May be used to load capabilities with write permission.","``R`` and ``c``"
1584+ "``g``","Load Global", " May be used to load capabilities with the global permission.","``R`` and ``c``"
15831585
15841586Examples of valid encodings are: ``"RWcm"`` (all permissions), ``"R"`` (read
15851587only), etc. Note that the order in which symbols appear is not relevant: for
15861588example, `"RWcm"` and `"mcWR"` are both valid and entail the same permissions.
15871589
1588- **Warning**: The ``<permissions_encoding>`` parameter is optional, and if no encoding is given ``"RWcm "`` is assumed.
1590+ **Warning**: The ``<permissions_encoding>`` parameter is optional, and if no encoding is given ``"RWcmg "`` is assumed.
15891591 }];
15901592}
15911593
0 commit comments