diff --git a/xtldr/modules/blproto.c b/xtldr/blproto.c similarity index 97% rename from xtldr/modules/blproto.c rename to xtldr/blproto.c index e99cca3..d46105e 100644 --- a/xtldr/modules/blproto.c +++ b/xtldr/blproto.c @@ -1,7 +1,7 @@ /** * PROJECT: ExectOS * COPYRIGHT: See COPYING.md in the top level directory - * FILE: xtldr/modules/blproto.c + * FILE: xtldr/blproto.c * DESCRIPTION: EFI XTLDR protocol API * DEVELOPERS: Rafal Kupiec */ diff --git a/xtldr/includes/blmod.h b/xtldr/includes/blmod.h new file mode 100644 index 0000000..0f6fcf3 --- /dev/null +++ b/xtldr/includes/blmod.h @@ -0,0 +1,22 @@ +/** + * PROJECT: ExectOS + * COPYRIGHT: See COPYING.md in the top level directory + * FILE: xtldr/includes/blmod.h + * DESCRIPTION: XTLDR modules support + * DEVELOPERS: Rafal Kupiec + */ + +#ifndef __XTLDR_BLMOD_H +#define __XTLDR_BLMOD_H + +#include +#include + + +/* EFI XT Loader Protocol */ +EXTERN PXT_BOOT_LOADER_PROTOCOL EfiXtLdrProtocol; + +EFI_STATUS +BlGetXtLoaderProtocol(); + +#endif /* __XTLDR_BLMOD_H */ diff --git a/xtldr/modules/dummy/CMakeLists.txt b/xtldr/modules/dummy/CMakeLists.txt index d2efef7..5c64bc9 100644 --- a/xtldr/modules/dummy/CMakeLists.txt +++ b/xtldr/modules/dummy/CMakeLists.txt @@ -8,7 +8,7 @@ include_directories( # Specify list of source code files list(APPEND XTLDR_DUMMY_SOURCE - ${XTLDR_SOURCE_DIR}/modules/blproto.c + ${XTLDR_SOURCE_DIR}/blproto.c ${XTLDR_DUMMY_SOURCE_DIR}/dummy.c) # Link bootloader executable