Skip to content
  • Sunny Wang's avatar
    uefi-sct/SctPkg: Allow SimpleTextOut SetMode to return EFI_UNSUPPORTED · d919c4a5
    Sunny Wang authored and G Edhaya Chandran's avatar G Edhaya Chandran committed
    The SimpleTestOut test cases don't allow SetMode to return
    EFI_UNSUPPORTED, which doesn't comply with UEFI spec.
    UEFI spec allows EFI_SIMPLE_TEXT_OUT_PROTOCOL.SetMode function to
    return EFI_UNSUPPORTED for the condition below:
    if the output devices support 80x50, that is defined to be mode 1.
    All other text dimensions supported by the device will follow as
    modes 2 and above. If an output device supports modes 2 and above,
    but does not support 80x50, then querying for mode 1 will return
    Therefore, update the test cases to fix this issue.
    Cc: G Edhaya Chandran <>
    Cc: Barton Gao <>
    Cc: Carolyn Gjertsen <>
    Cc: Heinrich Schuchardt <>
    Cc: Samer El-Haj-Mahmoud <>
    Signed-off-by: default avatarSunny Wang <>
    Reviewed-by: default avatarG Edhaya Chandran <>