diff --git a/xtldr2/modules/CMakeLists.txt b/xtldr2/modules/CMakeLists.txt index 5a3e917..c65186e 100644 --- a/xtldr2/modules/CMakeLists.txt +++ b/xtldr2/modules/CMakeLists.txt @@ -1,2 +1 @@ add_subdirectory(dummy) -add_subdirectory(dummy2) diff --git a/xtldr2/modules/dummy2/CMakeLists.txt b/xtldr2/modules/dummy2/CMakeLists.txt deleted file mode 100644 index b4e0328..0000000 --- a/xtldr2/modules/dummy2/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -# XT Boot Loader -PROJECT(XTLDR_DUMMY2) - -# Specify include directories -include_directories( - ${EXECTOS_SOURCE_DIR}/sdk/xtdk - ${XTLDR_SOURCE_DIR}/includes - ${XTLDR_DUMMY2_SOURCE_DIR}/includes) - -# Specify list of source code files -list(APPEND XTLDR_DUMMY2_SOURCE - ${XTLDR_DUMMY2_SOURCE_DIR}/dummy2.c) - -# Link bootloader executable -add_executable(dummy2 ${XTLDR_DUMMY2_SOURCE}) - -# Add linker libraries -target_link_libraries(dummy2 libxtldr libxtos) - -# Set proper binary name and install target -set_target_properties(dummy2 PROPERTIES SUFFIX .efi) -set_install_target(dummy2 efi/boot/xtldr/modules) - -# Set module entrypoint and subsystem -set_entrypoint(dummy2 "XtLdrModuleMain") -set_subsystem(dummy2 efi_boot_service_driver) diff --git a/xtldr2/modules/dummy2/dummy2.c b/xtldr2/modules/dummy2/dummy2.c deleted file mode 100644 index 4681052..0000000 --- a/xtldr2/modules/dummy2/dummy2.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * PROJECT: ExectOS - * COPYRIGHT: See COPYING.md in the top level directory - * FILE: xtldr/modules/dummy/dummy.c - * DESCRIPTION: Dummy XTLDR module - * DEVELOPERS: Rafal Kupiec - */ - -#include - - -/** - * This routine is the entry point of the XT EFI boot loader module. - * - * @param ImageHandle - * Firmware-allocated handle that identifies the image. - * - * @param SystemTable - * Provides the EFI system table. - * - * @return This routine returns status code. - * - * @since XT 1.0 - */ -XTCDECL -EFI_STATUS -XtLdrModuleMain(IN EFI_HANDLE ImageHandle, - IN PEFI_SYSTEM_TABLE SystemTable) -{ - return STATUS_EFI_SUCCESS; -}