aboutsummaryrefslogtreecommitdiff
path: root/docs/firmware-design.rst
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2019-02-08 10:50:28 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2019-02-08 16:33:17 +0100
commit337e2f1f2b84643e460f12683b5fb83a7b1e0e9c (patch)
tree950da494d6e0f789e321d17a489b93966523ac8d /docs/firmware-design.rst
parent9aa6b6371f3a3bf8149bc3bada02991ecec39810 (diff)
downloadtrusted-firmware-a-337e2f1f2b84643e460f12683b5fb83a7b1e0e9c.tar.gz
Miscellaneous doc fixes/enhancements
Change-Id: I915303cea787d9fb188428b98ac6cfc610cc4470 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'docs/firmware-design.rst')
-rw-r--r--docs/firmware-design.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/firmware-design.rst b/docs/firmware-design.rst
index 06fdbacdd2..d00e45c168 100644
--- a/docs/firmware-design.rst
+++ b/docs/firmware-design.rst
@@ -2343,18 +2343,18 @@ A publisher that wants to publish event ``foo`` would:
A subscriber that wants to subscribe to event ``foo`` published above would
implement:
-::
+.. code:: c
- void *foo_handler(const void *arg)
- {
- void *result;
+ void *foo_handler(const void *arg)
+ {
+ void *result;
- /* Do handling ... */
+ /* Do handling ... */
- return result;
- }
+ return result;
+ }
- SUBSCRIBE_TO_EVENT(foo, foo_handler);
+ SUBSCRIBE_TO_EVENT(foo, foo_handler);
Reclaiming the BL31 initialization code