doc: kernel: use zephyr_file role

Link to files in git tree on Github.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-01-23 16:21:13 -05:00
commit 3499312249
3 changed files with 4 additions and 4 deletions

View file

@ -306,7 +306,7 @@ operations on the ring buffer's memory. For example:
API Reference API Reference
************* *************
The following ring buffer APIs are provided by :file:`include/ring_buffer.h`: The following ring buffer APIs are provided by :zephyr_file:`include/ring_buffer.h`:
.. doxygengroup:: ring_buffer_apis .. doxygengroup:: ring_buffer_apis
:project: Zephyr :project: Zephyr

View file

@ -179,7 +179,7 @@ Related configuration options:
APIs APIs
**** ****
The following memory domain APIs are provided by :file:`kernel.h`: The following memory domain APIs are provided by :zephyr_file:`include/kernel.h`:
* :c:macro:`K_MEM_PARTITION_DEFINE` * :c:macro:`K_MEM_PARTITION_DEFINE`
* :cpp:func:`k_mem_domain_init()` * :cpp:func:`k_mem_domain_init()`

View file

@ -477,7 +477,7 @@ APIs
**** ****
Helper macros for creating system call handlers are provided in Helper macros for creating system call handlers are provided in
:file:`kernel/include/syscall_handler.h`: :zephyr_file:`kernel/include/syscall_handler.h`:
* :c:macro:`Z_SYSCALL_HANDLER()` * :c:macro:`Z_SYSCALL_HANDLER()`
* :c:macro:`Z_SYSCALL_HANDLER1_SIMPLE()` * :c:macro:`Z_SYSCALL_HANDLER1_SIMPLE()`
@ -496,7 +496,7 @@ Helper macros for creating system call handlers are provided in
* :c:macro:`Z_SYSCALL_VERIFY` * :c:macro:`Z_SYSCALL_VERIFY`
Functions for invoking system calls are defined in Functions for invoking system calls are defined in
:file:`include/syscall.h`: :zephyr_file:`include/syscall.h`:
* :c:func:`_arch_syscall_invoke0` * :c:func:`_arch_syscall_invoke0`
* :c:func:`_arch_syscall_invoke1` * :c:func:`_arch_syscall_invoke1`