diff options
author | Himanshu Sahdev aka CunningLearner <sahdev.himan@gmail.com> | 2019-09-08 12:29:27 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-13 09:59:17 +0000 |
commit | 2b84008ed9a5d14b519834d6d85c4955fa326684 (patch) | |
tree | 07876b00b84a80db6911a127a710838a2eba49a2 /src/commonlib/region.c | |
parent | 7f50afb0c79fc041a8533586172cae53284d3c9b (diff) |
arch/x86/bootblock_crt0.S: Leverage eax in protected mode entry
Leverage already used eax register in bootblock_protected_mode_entry.
Avoid another register ebx just for preserving eax value as it is not
needed and is not used at all after moving the value into mm0.
Allow EBX to be preserved for other usage.
Change-Id: Ia668b78f2f97cf026692f1fe63ff8a382a162474
Signed-off-by: Himanshu Sahdev <himanshusah@hcl.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35292
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/region.c')
0 files changed, 0 insertions, 0 deletions