diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-28 16:03:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-28 17:07:47 +1100 |
commit | 60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f (patch) | |
tree | 994e5dbf85bea0154c0bee4c15c44ef12695d0e3 /doc/opal-api | |
parent | 91350c5a926795d8917a4eff699941361f780476 (diff) | |
download | skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.zip skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.tar.gz skiboot-60b1eb9a6aad0365a6bd3f2e3a265a702b09e36f.tar.bz2 |
doc: device-tree snippets should be dts code-blocks
This gets us syntax highlighting of device tree snippets.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc/opal-api')
-rw-r--r-- | doc/opal-api/opal-handle-interrupt.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/opal-api/opal-handle-interrupt.rst b/doc/opal-api/opal-handle-interrupt.rst index ce2028f..11f53b5 100644 --- a/doc/opal-api/opal-handle-interrupt.rst +++ b/doc/opal-api/opal-handle-interrupt.rst @@ -4,12 +4,13 @@ OPAL_HANDLE_INTERRUPT The host OS must pass all interrupts in ``ibm,opal/opal-interrupts`` in the device tree to OPAL. -An example dt snippet is: :: +An example dt snippet is: + +.. code-block:: dts ibm,opal { - ... opal-interrupts = <0x10 0x11 0x12 0x13 0x14 0x20010 0x20011 0x20012 0x20013 0x20014 0xffe 0xfff 0x17fe 0x17ff 0x2ffe 0x2fff 0x37fe 0x37ff 0x20ffe 0x20fff 0x217fe 0x217ff 0x22ffe 0x22fff 0x237fe 0x237ff>; - } + }; When the host OS gets any of these interrupts, it must call ``OPAL_HANDLE_INTERRUPT``. |