XTLDR Rewrite #7

Merged
belliash merged 184 commits from xtldr_rewrite into master 2024-01-09 18:51:04 +01:00
4 changed files with 23 additions and 0 deletions
Showing only changes of commit ee0603c318 - Show all commits

View File

@ -19,6 +19,7 @@ list(APPEND XTLDR_SOURCE
${XTLDR_SOURCE_DIR}/hardware.c
${XTLDR_SOURCE_DIR}/memory.c
${XTLDR_SOURCE_DIR}/protocol.c
${XTLDR_SOURCE_DIR}/shell.c
${XTLDR_SOURCE_DIR}/string.c
${XTLDR_SOURCE_DIR}/textui.c
${XTLDR_SOURCE_DIR}/volume.c

View File

@ -221,6 +221,10 @@ XTCDECL
VOID
BlSleepExecution(IN ULONG_PTR Milliseconds);
XTCDECL
VOID
BlStartLoaderShell();
XTCDECL
EFI_STATUS
BlStartXtLoader(IN EFI_HANDLE ImageHandle,

16
xtldr2/shell.c Normal file
View File

@ -0,0 +1,16 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtldr/shell.c
* DESCRIPTION: XT Boot Loader shell
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#include <xtldr.h>
XTCDECL
VOID
BlStartLoaderShell()
{
}

View File

@ -9,6 +9,7 @@
#include <xtldr.h>
/**
* Initializes EFI Boot Loader (XTLDR).
*
@ -425,6 +426,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
}
/* Fallback to shell, if boot menu returned */
BlStartLoaderShell();
}
/* This point should be never reached, if this happen return error code */