From 97e1553c0679fbd68551b880ef57fbf18dcbfc85 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Jan 2017 10:39:08 +0100 Subject: c-user: Add support for references via bibtex https://sphinxcontrib-bibtex.readthedocs.io/en/latest/index.html Update #2871. --- cpu-supplement/conf.py | 2 ++ cpu-supplement/index.rst | 1 + cpu-supplement/port.rst | 2 +- cpu-supplement/zreferences.rst | 6 ++++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 cpu-supplement/zreferences.rst (limited to 'cpu-supplement') diff --git a/cpu-supplement/conf.py b/cpu-supplement/conf.py index 933c5ce..8d31fa4 100644 --- a/cpu-supplement/conf.py +++ b/cpu-supplement/conf.py @@ -3,6 +3,8 @@ sys.path.append(os.path.abspath('../common/')) from conf import * +extensions = ['sphinxcontrib.bibtex'] + version = '1.0' release = '4.11.99' diff --git a/cpu-supplement/index.rst b/cpu-supplement/index.rst index b5c316a..c7d6b1e 100644 --- a/cpu-supplement/index.rst +++ b/cpu-supplement/index.rst @@ -57,6 +57,7 @@ to the Community Project hosted at http://www.rtems.org/. sparc sparc64 command + zreferences * :ref:`genindex` * :ref:`search` diff --git a/cpu-supplement/port.rst b/cpu-supplement/port.rst index 2e15a70..68c1471 100644 --- a/cpu-supplement/port.rst +++ b/cpu-supplement/port.rst @@ -329,7 +329,7 @@ facilities mandated by the application binary interface (ABI) of the CPU architecture. The CPU port must initialize the TLS area in the ``_CPU_Context_Initialize()`` function. There are support functions available via ``#include `` which implement Variants I and II -according to Ulrich Drepper, *ELF Handling For Thread-Local Storage*. +according to :cite:`Drepper:2013:TLS`. ``_TLS_TCB_at_area_begin_initialize()`` Uses Variant I, TLS offsets emitted by linker takes the TCB into account. diff --git a/cpu-supplement/zreferences.rst b/cpu-supplement/zreferences.rst new file mode 100644 index 0000000..26b0ed2 --- /dev/null +++ b/cpu-supplement/zreferences.rst @@ -0,0 +1,6 @@ +.. only:: html + + References + ********** + +.. bibliography:: ../common/refs.bib -- cgit v1.2.3