coreboot-kgpe-d16/payloads/libpayload/include
Furquan Shaikh 1dcb10eeb6 libpayload: queue: Add a helper macro for checking singleton queue
Check if the simple queue consists of only 1 element.

BUG=b:24676003
BRANCH=None
TEST=Compiles successfully.

Change-Id: Ib257a5e6b9042b42c549f8ad8b943e3b75fd8c9c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5435d6fec1c4fbb4c04ba5b8c15caff9ee4e50f0
Original-Change-Id: I7a8cb9c4e7e71956e85e65b3e7b8e0af4d354110
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/311256
Original-Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12412
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
2015-11-13 00:52:58 +01:00
..
arm/arch tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
arm64/arch
arpa
mips/arch tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci
storage
sys
udc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
x86/arch
assert.h
cbfs.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_core.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_ram.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbgfx.h libpayload/libcbgfx: Add license headers 2015-10-27 16:49:10 +01:00
coreboot_tables.h
ctype.h
die.h
endian.h
errno.h
exception.h
fmap_serialized.h
gdb.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
getopt.h
inttypes.h
ipchksum.h
kconfig.h
keycodes.h
libpayload.h cbgfx: coreboot graphics library 2015-10-27 15:21:31 +01:00
limits.h
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h libpayload: queue: Add a helper macro for checking singleton queue 2015-11-13 00:52:58 +01:00
stdarg.h
stddef.h
stdint.h libpayload: Add ptrdiff_t typedef 2015-10-20 16:50:25 +02:00
stdio.h
stdlib.h
string.h
strings.h
swab.h
sysinfo.h
term.h
unistd.h
video_console.h