arch/x86/postcar_loader.c: Change prepare_and_run_postcar signature

The postcar frame can now be a local variable to that function.

Change-Id: I873298970fff76b9ee1cae7da156613eb557ffbc
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61964
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Arthur Heymans
2022-02-15 11:06:10 +01:00
parent ba00d10c41
commit 876a1b48f8
5 changed files with 13 additions and 13 deletions

View File

@@ -50,7 +50,6 @@ static void bsp_agesa_call(void)
asmlinkage void car_stage_entry(void)
{
struct postcar_frame pcf;
msr_t base, mask;
msr_t mtrr_cap = rdmsr(MTRR_CAP_MSR);
int vmtrrs = mtrr_cap.lo & MTRR_CAP_VCNT;
@@ -121,7 +120,7 @@ asmlinkage void car_stage_entry(void)
smm_list_regions();
post_code(0x44);
prepare_and_run_postcar(&pcf);
prepare_and_run_postcar();
}
void fill_postcar_frame(struct postcar_frame *pcf)