forked from xt-sys/exectos
Quick code refactor for further modules development
This commit is contained in:
@@ -1,18 +1,30 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtldr/includes/blmod.h
|
||||
* DESCRIPTION: XTLDR modules support
|
||||
* FILE: xtldr/includes/blproto.h
|
||||
* DESCRIPTION: XTLDR boot loader protocol support
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTLDR_BLMOD_H
|
||||
#define __XTLDR_BLMOD_H
|
||||
#ifndef __XTLDR_BLPROTO_H
|
||||
#define __XTLDR_BLPROTO_H
|
||||
|
||||
#include <xtkmapi.h>
|
||||
#include <bldefs.h>
|
||||
|
||||
|
||||
/* Loader protocol routine pointers */
|
||||
typedef VOID (*PBL_DBG_PRINT)(IN PUINT16 Format, IN ...);
|
||||
typedef VOID (*PBL_EFI_PRINT)(IN PUINT16 Format, IN ...);
|
||||
|
||||
/* EFI XT Boot Loader Protocol */
|
||||
typedef struct _XT_BOOT_LOADER_PROTOCOL
|
||||
{
|
||||
PBL_DBG_PRINT DbgPrint;
|
||||
PBL_EFI_PRINT EfiPrint;
|
||||
} XT_BOOT_LOADER_PROTOCOL, *PXT_BOOT_LOADER_PROTOCOL;
|
||||
|
||||
/* Loader protocol related routines forward references */
|
||||
EFI_STATUS
|
||||
BlGetXtLoaderProtocol(PXT_BOOT_LOADER_PROTOCOL *LdrProtocol);
|
||||
|
||||
@@ -20,4 +32,4 @@ EFI_STATUS
|
||||
BlLoadXtProtocol(PVOID *ProtocolHandler,
|
||||
PEFI_GUID ProtocolGuid);
|
||||
|
||||
#endif /* __XTLDR_BLMOD_H */
|
||||
#endif /* __XTLDR_BLPROTO_H */
|
||||
|
Reference in New Issue
Block a user