summaryrefslogtreecommitdiff
path: root/host/include
diff options
context:
space:
mode:
authorvbendeb <vbendeb@chromium.org>2010-06-24 16:19:53 -0700
committervbendeb <vbendeb@chromium.org>2010-06-24 16:19:53 -0700
commit3ecaf776d82d29573be083b2e5c6ddc5b9f49c70 (patch)
tree3887c0749d73e45562a250c275f56eb4f5356613 /host/include
parentd6aad3a0888ad57383036dacdfc4c01f0c3b56e3 (diff)
downloadvboot-3ecaf776d82d29573be083b2e5c6ddc5b9f49c70.tar.gz
Make vboot_reference build in MSVC command line environment.
This is a mostly NOOP change which modifies the source code to compile cleanly in the MSVC command line build environment. A new makefile is introduced (msc/nmakefile) along with a README.txt in the same directory explaining how to build the code in the DOS window. As of this submission the build is running in a 32 bit environment, the intention is to use the same makefile for 64 bit builds in the future. Enabling high compilation warnings level allowed to identify a couple of bugs in the code which are being fixed. Not all sources are being compiled in the MSVC environment, only those in firmware/ and most of those in test/ subdirectories. The benchmark calculations require porting of the timer facilities and are being postponed. TEST Built in DOS and linux environments. Ran unit tests in linux environment. Review URL: http://codereview.chromium.org/2809037
Diffstat (limited to 'host/include')
-rw-r--r--host/include/host_common.h2
-rw-r--r--host/include/host_key.h2
-rw-r--r--host/include/host_keyblock.h2
-rw-r--r--host/include/host_misc.h3
-rw-r--r--host/include/host_signature.h2
5 files changed, 0 insertions, 11 deletions
diff --git a/host/include/host_common.h b/host/include/host_common.h
index 056fbc42..d8a2b092 100644
--- a/host/include/host_common.h
+++ b/host/include/host_common.h
@@ -8,8 +8,6 @@
#ifndef VBOOT_REFERENCE_HOST_COMMON_H_
#define VBOOT_REFERENCE_HOST_COMMON_H_
-#include <stdint.h>
-
#include "cryptolib.h"
#include "host_key.h"
#include "host_keyblock.h"
diff --git a/host/include/host_key.h b/host/include/host_key.h
index efdf79db..9ce1fa56 100644
--- a/host/include/host_key.h
+++ b/host/include/host_key.h
@@ -8,8 +8,6 @@
#ifndef VBOOT_REFERENCE_HOST_KEY_H_
#define VBOOT_REFERENCE_HOST_KEY_H_
-#include <stdint.h>
-
#include "cryptolib.h"
#include "utility.h"
#include "vboot_struct.h"
diff --git a/host/include/host_keyblock.h b/host/include/host_keyblock.h
index 02281436..1da251e6 100644
--- a/host/include/host_keyblock.h
+++ b/host/include/host_keyblock.h
@@ -8,8 +8,6 @@
#ifndef VBOOT_REFERENCE_HOST_KEYBLOCK_H_
#define VBOOT_REFERENCE_HOST_KEYBLOCK_H_
-#include <stdint.h>
-
#include "host_key.h"
#include "vboot_struct.h"
diff --git a/host/include/host_misc.h b/host/include/host_misc.h
index 49afa299..abbfc0f6 100644
--- a/host/include/host_misc.h
+++ b/host/include/host_misc.h
@@ -8,9 +8,6 @@
#ifndef VBOOT_REFERENCE_HOST_MISC_H_
#define VBOOT_REFERENCE_HOST_MISC_H_
-#include <stdint.h>
-
-#include "host_misc.h"
#include "utility.h"
#include "vboot_struct.h"
diff --git a/host/include/host_signature.h b/host/include/host_signature.h
index 9e7b0c06..4bbee7cc 100644
--- a/host/include/host_signature.h
+++ b/host/include/host_signature.h
@@ -8,8 +8,6 @@
#ifndef VBOOT_REFERENCE_HOST_SIGNATURE_H_
#define VBOOT_REFERENCE_HOST_SIGNATURE_H_
-#include <stdint.h>
-
#include "cryptolib.h"
#include "host_key.h"
#include "utility.h"