summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stdlib.h
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-01-12 10:40:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-03-19 23:23:36 +0100
commite5be1dc336d460f4bc4781b5e8ee5eb0b7e04a2e (patch)
tree87dd140f67cac037b659fde69111f49f35b41263 /payloads/libpayload/include/stdlib.h
parentb0f8326ac264a9eee748623720dacda0def9cceb (diff)
downloadcoreboot-e5be1dc336d460f4bc4781b5e8ee5eb0b7e04a2e.tar.xz
libpayload: Add OpenBSD queue implementation
Add OpenBSD's header-only implementation of some basic data structures, imported from src/sys/sys/queue.h, revision 1.38 (all whitespace errors kept verbatim) Unlike home-grown solutions they likely handle all corner cases correctly from the start and unlike Linux's solution it's properly documented (see OpenBSD's LIST_INIT(3)) and also BSD-l. BRANCH=none BUG=none TEST=none Change-Id: I89ae4df0c73662c355537283e7559af03a8b99a0 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 6f89e0316e6d68158c689bed4b1bdfe168c1449a Original-Change-Id: Ie08a567851a2f07cbd2ac80ba31d8bca9844937d Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/240190 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Patrick Georgi <pgeorgi@chromium.org> Original-Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/8727 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include/stdlib.h')
0 files changed, 0 insertions, 0 deletions