summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/assembly_entry.S
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-07-23 10:34:38 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-07-26 07:30:36 +0000
commite279d90d4de18a0333fc7650710b0dba7e2fcd7f (patch)
treeaa2d9d9d8ec4c1bad10cbf9b20b3c4052526ff1b /src/arch/x86/assembly_entry.S
parent474781b2703de37ea7a484fd4cdfde5103e48d01 (diff)
downloadcoreboot-e279d90d4de18a0333fc7650710b0dba7e2fcd7f.tar.gz
coreboot-e279d90d4de18a0333fc7650710b0dba7e2fcd7f.tar.bz2
coreboot-e279d90d4de18a0333fc7650710b0dba7e2fcd7f.zip
arch/x86,cpu/x86/mp_init: Switch cpu_info index type to size_t
The alignment for `struct cpu_info` is wrong on x86_64. c_start.S uses the `push` instruction when setting up the cpu_info struct. This instruction will push 8 bytes but `unsigned int` is 4 bytes. By making it a `size_t` we get the correct size for both x86_32 and x86_64. BUG=b:179699789 TEST=Boot guybrush to the OS Suggested-by: Julius Werner <jwerner@chromium.org> Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I8ef311aaa8333ccf8a5b3f1f0e852bb26777671c Reviewed-on: https://review.coreboot.org/c/coreboot/+/56573 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/x86/assembly_entry.S')
0 files changed, 0 insertions, 0 deletions