mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: arch/x86 GDT: Fix orphan debug output
On S3 resume path, CBMEM_ID_GDT already exists but we only printed the final "ok" string. Always tell GDT is about to be moved. BUG=None BRANCH=None TEST=None Signed-off-by: Kysti Mlkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17500 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Change-Id: Ic91c5389cf4d47d28a6c54db152c18541c413bc1 Reviewed-on: https://chromium-review.googlesource.com/413246 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
13a5e0e205
commit
b9175cf032
1 changed files with 1 additions and 1 deletions
|
@ -45,9 +45,9 @@ static void move_gdt(int is_recovery)
|
|||
printk(BIOS_ERR, "Error: Could not relocate GDT.\n");
|
||||
return;
|
||||
}
|
||||
printk(BIOS_DEBUG, "Moving GDT to %p...", newgdt);
|
||||
memcpy((void*)newgdt, &gdt, num_gdt_bytes);
|
||||
}
|
||||
printk(BIOS_DEBUG, "Moving GDT to %p...", newgdt);
|
||||
|
||||
gdtarg.base = (uintptr_t)newgdt;
|
||||
gdtarg.limit = num_gdt_bytes - 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue