mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Originally, we didn't trust the firmware to provide these functions from a standard library. Now, with coreboot, we do. BUG=chromium:611535 BRANCH=none TEST=make runtests; emerge-kevin coreboot depthcharge Change-Id: I4e624c40085f2b665275a38624340b2f6aabcf11 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/399120 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
30 lines
947 B
C
30 lines
947 B
C
/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* System includes for vboot reference library. This is the ONLY
|
|
* place in firmware/ where system headers may be included via
|
|
* #include <...>, so that there's only one place that needs to be
|
|
* fixed up for platforms which don't have all the system includes.
|
|
*
|
|
* Files in firmware/stub may still include system headers, because
|
|
* they're local implementations and will be ported to each system
|
|
* anyway. */
|
|
|
|
#ifndef VBOOT_REFERENCE_SYSINCLUDES_H_
|
|
#define VBOOT_REFERENCE_SYSINCLUDES_H_
|
|
|
|
#include <inttypes.h> /* For PRIu64 */
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#if defined(HAVE_ENDIAN_H) && defined(HAVE_LITTLE_ENDIAN)
|
|
#include <byteswap.h>
|
|
#include <memory.h>
|
|
#endif
|
|
|
|
#endif /* VBOOT_REFERENCE_SYSINCLUDES_H_ */
|