From a740cd96a947d1ef67ef82bfc567d2ef47d576f7 Mon Sep 17 00:00:00 2001 From: Benjamin Walsh Date: Tue, 26 Jan 2016 16:47:37 -0500 Subject: [PATCH] doc: add device_ namespace to the naming code conventions Change-Id: I3404a675a965ed196721f3cf825780c607ed2d40 Signed-off-by: Benjamin Walsh --- doc/collaboration/code/naming_conventions.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/collaboration/code/naming_conventions.rst b/doc/collaboration/code/naming_conventions.rst index e449605c227..f57ce48cf0f 100644 --- a/doc/collaboration/code/naming_conventions.rst +++ b/doc/collaboration/code/naming_conventions.rst @@ -28,6 +28,9 @@ to the Namespace`_ for details. +-------------------+---------------------------------------------------------+ | atomic\_ | Denotes an atomic operation (e.g. atomic_inc). | +-------------------+---------------------------------------------------------+ +| device\_ | Denotes an API relating to devices and their | +| | initialization | ++-------------------+---------------------------------------------------------+ | fiber\_ | Denotes an operation invoked by a fiber; typically a | | | microkernel operation (e.g. fiber_event_send). | +-------------------+---------------------------------------------------------+ @@ -113,4 +116,4 @@ and :option:`-Iinclude` for your compile, then any code using #include is not. Not having :option:`-Iinclude/drivers` forces users to use the second -form which is more explicit. \ No newline at end of file +form which is more explicit.