TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformBootManagerLib.h File Reference

Go to the source code of this file.

Functions

VOID EFIAPI PlatformBootManagerBeforeConsole (VOID)
 
VOID EFIAPI PlatformBootManagerAfterConsole (VOID)
 
VOID EFIAPI PlatformBootManagerWaitCallback (UINT16 TimeoutRemain)
 
VOID EFIAPI PlatformBootManagerUnableToBoot (VOID)
 

Detailed Description

Platform Boot Manager library definition. A platform can implement instances to support platform-specific behavior.

Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PlatformBootManagerLib.h.

Function Documentation

◆ PlatformBootManagerAfterConsole()

VOID EFIAPI PlatformBootManagerAfterConsole ( VOID  )

Do the platform specific action after the console is connected.

Such as: Dynamically switch output mode; Signal console ready platform customized event; Run diagnostics like memory testing; Connect certain devices; Dispatch aditional option roms.

Do the platform specific action after the console is connected.

Such as: Dynamically switch output mode; Signal console ready platform customized event; Run diagnostics like memory testing; Connect certain devices; Dispatch additional option roms.

Do the platform specific action after the console is ready Possible things that can be done in PlatformBootManagerAfterConsole:

‍Console post action: Dynamically switch output mode from 100x31 to 80x25 for certain scenario Signal console ready platform customized event Run diagnostics like memory testing Connect certain devices Dispatch additional option roms Special boot: e.g.: USB boot, enter UI

Do the platform specific action after the console is ready

Possible things that can be done in PlatformBootManagerAfterConsole:

‍Console post action: Dynamically switch output mode from 100x31 to 80x25 for certain senarino Signal console ready platform customized event Run diagnostics like memory testing Connect certain devices Dispatch aditional option roms Special boot: e.g.: USB boot, enter UI

Definition at line 136 of file LinuxBootBm.c.

◆ PlatformBootManagerBeforeConsole()

VOID EFIAPI PlatformBootManagerBeforeConsole ( VOID  )

Do the platform specific action before the console is connected.

Such as: Update console variable; Register new Driver#### or Boot####; Signal ReadyToLock event.

Do the platform init, can be customized by OEM/IBV Possible things that can be done in PlatformBootManagerBeforeConsole:

‍Update console variable: 1. include hot-plug devices;

  1. Clear ConIn and add SOL for AMT Register new Driver#### or Boot#### Register new Key####: e.g.: F12 Signal ReadyToLock event Authentication action: 1. connect Auth devices;

Identify auto logon user.

Platform Bds init. Include the platform firmware vendor, revision and so crc check.

Definition at line 114 of file LinuxBootBm.c.

◆ PlatformBootManagerUnableToBoot()

VOID EFIAPI PlatformBootManagerUnableToBoot ( VOID  )

The function is called when no boot option could be launched, including platform recovery options and options pointing to applications built into firmware volumes.

If this function returns, BDS attempts to enter an infinite loop.

Definition at line 182 of file LinuxBootBm.c.

◆ PlatformBootManagerWaitCallback()

VOID EFIAPI PlatformBootManagerWaitCallback ( UINT16  TimeoutRemain)

This function is called each second during the boot manager waits the timeout.

Parameters
TimeoutRemainThe remaining timeout.

Definition at line 166 of file LinuxBootBm.c.