On Mon, Feb 08, 2016 at 03:33:30PM -0600, Supreeth Venkatesh wrote:
> Setup the EFI System Table with information about the
> Console Devices early, so that error messages in bds
> are printed on the console.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> 
> Signed-off-by: Supreeth Venkatesh <[email protected]>

Thanks, Supreeth.
Committed (with a minor update to the commit message).

In future, it is useful to cc all maintainers listed for the package
you are submitting patches to, so it doesn't get left lying for too
long if someone is busy. In this case, that would have been Ard.

Regards,

Leif

> ---
>  ArmPlatformPkg/Bds/Bds.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/ArmPlatformPkg/Bds/Bds.c b/ArmPlatformPkg/Bds/Bds.c
> index 3ee866c..4cea3cd 100644
> --- a/ArmPlatformPkg/Bds/Bds.c
> +++ b/ArmPlatformPkg/Bds/Bds.c
> @@ -479,6 +479,9 @@ BdsEntry (
>    Status = gBS->CalculateCrc32 ((VOID*)gST, gST->Hdr.HeaderSize, 
> &gST->Hdr.CRC32);
>    ASSERT_EFI_ERROR (Status);
>  
> +  // Now we need to setup the EFI System Table with information about the 
> console devices.
> +  InitializeConsole ();
> +
>    // If BootNext environment variable is defined then we just load it !
>    BootNextSize = sizeof(UINT16);
>    Status = GetGlobalEnvironmentVariable (L"BootNext", NULL, &BootNextSize, 
> (VOID**)&BootNext);
> @@ -518,9 +521,6 @@ BdsEntry (
>    // If Boot Order does not exist then create a default entry
>    DefineDefaultBootEntries ();
>  
> -  // Now we need to setup the EFI System Table with information about the 
> console devices.
> -  InitializeConsole ();
> -
>    //
>    // Update the CRC32 in the EFI System Table header
>    //
> -- 
> 2.6.3
> 
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to