mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
This is a noop for host/chroot environment. When compiling in the firmware space the standard include files will not be included, the definitions will be supplied by the BIOS, through the new file (firmware/include/sysincludes.h). Testing ======= RUNTESTS=1 make in the top level directory succeeds, confirming that the tree compiles cleanly and the unit tests pass. Review URL: http://codereview.chromium.org/2862019
34 lines
981 B
C
34 lines
981 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_
|
|
|
|
#ifdef CHROMEOS_ENVIRONMENT
|
|
|
|
#include <inttypes.h> /* For PRIu64 */
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
#if defined(HAVE_ENDIAN_H) && defined(HAVE_LITTLE_ENDIAN)
|
|
#include <byteswap.h>
|
|
#include <memory.h>
|
|
#endif
|
|
|
|
#else
|
|
#include "stub/biosincludes.h"
|
|
#endif
|
|
|
|
#endif /* VBOOT_REFERENCE_SYSINCLUDES_H_ */
|