diff options
author | Mathias Krause <minipli@googlemail.com> | 2017-02-07 18:59:27 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-02-15 21:55:21 +0100 |
commit | d42c38b93cbfd93426a7789af6a0e03479c692e8 (patch) | |
tree | 2a9a66c11b441fccd1970ae22bb7aa9c717bc210 | |
parent | 6abdbcd4dc19f3fc2344ffcd9e3790e2a708d6b2 (diff) | |
download | coreboot-d42c38b93cbfd93426a7789af6a0e03479c692e8.tar.xz |
libpayload: x86/exec - fix libpayload API magic value
According to coreboot’s payload API [1] the magic value passed to the
payload should be 0x12345678, not 12345678. Fix that.
[1] https://www.coreboot.org/Payload_API
Change-Id: I10a7f7b1a4aec100416c5e7e4ba7f8add10ef5c5
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-on: https://review.coreboot.org/18331
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | payloads/libpayload/arch/x86/exec.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/x86/exec.S b/payloads/libpayload/arch/x86/exec.S index b632a558c6..c7595e979c 100644 --- a/payloads/libpayload/arch/x86/exec.S +++ b/payloads/libpayload/arch/x86/exec.S @@ -66,7 +66,7 @@ i386_do_exec: * and argv are sane */ - movl $12345678, %ecx + movl $0x12345678, %ecx pushl %ecx /* Jump to the code */ |