2 * efi_selftest_miniapp_return
4 * Copyright (c) 2018 Heinrich Schuchardt
6 * SPDX-License-Identifier: GPL-2.0+
8 * This EFI application is run by the StartImage selftest.
9 * It returns directly without calling the Exit boot service.
16 * Entry point of the EFI application.
18 * @handle handle of the loaded image
19 * @systable system table
22 efi_status_t EFIAPI efi_main(efi_handle_t handle,
23 struct efi_system_table *systable)
25 struct efi_simple_text_output_protocol *con_out = systable->con_out;
27 con_out->output_string(con_out,
28 L"EFI application returning w/o calling Exit\n");
30 /* The return value is checked by the calling test */
31 return EFI_INCOMPATIBLE_VERSION;