mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 18:55:24 +00:00
Don't include biosincludes.h any more.
It's no longer necessary and adds complexity. BUG=None TEST=Built vboot_reference (with FEATURES=test), chromeos-u-boot, depthcharge, chromeos-factory, chromeos-factoryinstall, chromeos-initramfs, and chromeos-cryptohome for daisy, lumpy, link, alex, and fox_wtm2 where applicable. Built vboot_reference for the host. BRANCH=None Change-Id: Ic2d70b92b25d57fd9ca1d9ad47d9889f6adc85e7 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/45685 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
@@ -15,8 +15,6 @@
|
|||||||
#ifndef VBOOT_REFERENCE_SYSINCLUDES_H_
|
#ifndef VBOOT_REFERENCE_SYSINCLUDES_H_
|
||||||
#define VBOOT_REFERENCE_SYSINCLUDES_H_
|
#define VBOOT_REFERENCE_SYSINCLUDES_H_
|
||||||
|
|
||||||
#ifdef CHROMEOS_ENVIRONMENT
|
|
||||||
|
|
||||||
#include <inttypes.h> /* For PRIu64 */
|
#include <inttypes.h> /* For PRIu64 */
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -35,20 +33,12 @@
|
|||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
|
||||||
#include "biosincludes.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#define __pragma(...)
|
#define __pragma(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (CHROMEOS_ENVIRONMENT) || defined (TARGET_TEST_MODE)
|
|
||||||
|
|
||||||
/* 64-bit operations, for platforms where they need to be function calls */
|
/* 64-bit operations, for platforms where they need to be function calls */
|
||||||
#define UINT64_RSHIFT(v, shiftby) (((uint64_t)(v)) >> (shiftby))
|
#define UINT64_RSHIFT(v, shiftby) (((uint64_t)(v)) >> (shiftby))
|
||||||
#define UINT64_MULT32(v, multby) (((uint64_t)(v)) * ((uint32_t)(multby)))
|
#define UINT64_MULT32(v, multby) (((uint64_t)(v)) * ((uint32_t)(multby)))
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* VBOOT_REFERENCE_SYSINCLUDES_H_ */
|
#endif /* VBOOT_REFERENCE_SYSINCLUDES_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user