summaryrefslogtreecommitdiffstats
path: root/src/include/boot
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-04-18 18:01:34 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-04-20 05:18:15 +0200
commit642b1db7336d4770d882684e42157103f3f38b19 (patch)
treec821d23e68f280521a5fa6b582802206400a835a /src/include/boot
parent8d5bc9f7726ac70e1c1a4f293827d67628650824 (diff)
downloadcoreboot-staging-642b1db7336d4770d882684e42157103f3f38b19.zip
coreboot-staging-642b1db7336d4770d882684e42157103f3f38b19.tar.gz
Eliminate use of pointers in coreboot table
Because pointers can be 32bit or 64bit big, using them in the coreboot table requires the OS and the firmware to operate in the same mode which is not always the case. Hence, use 64bit for all pointers stored in the coreboot table. Guess we'll have to fix this up once we port to the first 128bit machines. Change-Id: I46fc1dad530e5230986f7aa5740595428ede4f93 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3115 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/include/boot')
-rw-r--r--src/include/boot/coreboot_tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index a7e4ab0..ee1c29f 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -218,7 +218,7 @@ struct lb_vdat {
uint32_t tag;
uint32_t size;
- void *vdat_addr;
+ uint64_t vdat_addr;
uint32_t vdat_size;
};
@@ -246,7 +246,7 @@ struct lb_vboot_handoff {
uint32_t tag;
uint32_t size;
- void *vboot_handoff_addr;
+ uint64_t vboot_handoff_addr;
uint32_t vboot_handoff_size;
};
OpenPOWER on IntegriCloud