Go to file
Benjamin Walsh ca51a72133 dlist: enhance library and make all functions inline
The old doubly-linked list implementation had only support for very
basic operations, i.e. add at head and remove.

The new implementation is highly enhanced, allowing these operations:

- initialize list
- check if a node is the list's head
- check if a node is the list's tail
- check if the list is empty
- get a reference to the head item in the list
- get a reference to the next item in the list
- add node to tail of list
- add node to head of list
- insert node after a node
- insert node before a node
- insert node at position based on condition
- remove a specific node from a list
- get the first node in a list

The implementation is completely inline, since the operations are rather
simple and do not warrant a function call.

Change-Id: Id85c04e67f6a88b005390172f1276daa12bcf8ce
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:14:22 -05:00
arch nanokernel: rename struct s_CCS to struct ccs 2016-02-05 20:14:22 -05:00
config Rename VPF files to use MDEF file extension 2016-02-05 20:14:15 -05:00
doc fixed block formatting 2016-02-05 20:14:21 -05:00
drivers Rename *.s files to *.S 2016-02-05 20:14:21 -05:00
include dlist: enhance library and make all functions inline 2016-02-05 20:14:22 -05:00
kernel nanokernel: rename struct s_CCS to struct ccs 2016-02-05 20:14:22 -05:00
lib/libc libc: Add tolower implementation 2016-02-05 20:14:14 -05:00
misc dlist: enhance library and make all functions inline 2016-02-05 20:14:22 -05:00
net net: Add kconf for networking 2016-02-05 20:14:20 -05:00
samples sanity: Move Bluetooth regression script 2016-02-05 20:14:21 -05:00
scripts sanity: Enable out-of-tree sanity check 2016-02-05 20:14:21 -05:00
shared/include/nanokernel/x86
.gitattributes
.gitignore Remove obsolete .gitignore entry 2016-02-05 20:14:20 -05:00
.mailmap
Kconfig Rename Tiny Mountain -> Zephyr OS 2016-02-05 20:14:20 -05:00
Makefile Kbuild: Assembly code extension. 2016-02-05 20:14:20 -05:00
Makefile.inc Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
zephyr-env.sh Rename timo-env.sh to zephyr-env.sh 2016-02-05 20:14:16 -05:00