Small code formatting and refactoring
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-22 23:19:23 +01:00
parent e9d30a0fd9
commit 4d68b93ed3
7 changed files with 95 additions and 64 deletions

View File

@@ -4,7 +4,8 @@ PROJECT(XTLDR_DUMMY)
# Specify include directories
include_directories(
${EXECTOS_SOURCE_DIR}/sdk/xtdk
${XTLDR_SOURCE_DIR}/includes)
${XTLDR_SOURCE_DIR}/includes
${XTLDR_DUMMY_SOURCE_DIR}/includes)
# Specify list of source code files
list(APPEND XTLDR_DUMMY_SOURCE

View File

@@ -6,7 +6,7 @@
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#include <blmod.h>
#include <dummy.h>
/* EFI Image Handle */

View File

@@ -0,0 +1,20 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtldr/modules/dummy/includes/dummy.h
* DESCRIPTION: Dummy module header file
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTLDR_MODULES_DUMMY_H
#define __XTLDR_MODULES_DUMMY_H
#include <blmod.h>
/* Dummy module related routines forward references */
EFI_STATUS
BlXtLdrModuleMain(IN EFI_HANDLE ImageHandle,
IN PEFI_SYSTEM_TABLE SystemTable);
#endif /* __XTLDR_MODULES_DUMMY_H */