|
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.
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+214 lines, -100 lines) |
Patch |
|
M |
Makefile
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
firmware/include/sysincludes.h
|
View
|
1
2
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
firmware/include/utility.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
firmware/lib/cgptlib/cgptlib_internal.c
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
firmware/lib/cgptlib/include/cgptlib_internal.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
firmware/lib/cgptlib/include/gpt.h
|
View
|
1
2
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
firmware/lib/include/vboot_struct.h
|
View
|
1
2
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
firmware/lib/rollback_index.c
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
firmware/lib/vboot_kernel.c
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
firmware/stub/boot_device_stub.c
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
firmware/stub/include/biosincludes.h
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
firmware/stub/load_firmware_stub.c
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
firmware/stub/tlcl.c
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
firmware/stub/utility_stub.c
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
firmware/version.c
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
host/include/host_common.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
host/include/host_key.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
host/include/host_keyblock.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
host/include/host_misc.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
host/include/host_signature.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
A |
msc/README.txt
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A |
msc/nmakefile
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/cgptlib_test.h
|
View
|
1
2
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/cgptlib_test.c
|
View
|
1
2
|
6 chunks |
+26 lines, -23 lines |
0 comments
|
Download
|
|
M |
tests/crc32_test.c
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tests/rollback_index_mock.c
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/sha_tests.c
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/test_common.h
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/test_common.c
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/timer_utils.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/vboot_common2_tests.c
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
tests/vboot_common3_tests.c
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
tests/vboot_common_tests.c
|
View
|
1
2
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
utility/load_kernel_test.c
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|