Refactor part 6
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 27s
Builds / ExectOS (i686) (push) Successful in 46s

This commit is contained in:
2023-12-04 16:32:07 +01:00
parent 9a3e0f69fa
commit 2b2efd0dd3
8 changed files with 162 additions and 88 deletions

View File

@@ -10,14 +10,15 @@
#define __XTDK_BMTYPES_H
#include <xttypes.h>
#include <xtuefi.h>
/* Debug port type definitions */
/* XTLDR Debug port type definitions */
#define XTBL_DEBUGPORT_SCREEN 1
#define XTBL_DEBUGPORT_SERIAL 2
/* XTLDR configuration data */
typedef struct _XTBM_CONFIGURATION
typedef struct _XTBL_CONFIGURATION
{
PWCHAR Default;
PWCHAR Debug;
@@ -26,6 +27,14 @@ typedef struct _XTBM_CONFIGURATION
PWCHAR Theme;
ULONG Timeout;
PWCHAR Tune;
} XTBM_CONFIGURATION, *PXTBM_CONFIGURATION;
} XTBL_CONFIGURATION, *PXTBL_CONFIGURATION;
/* XTLDR status data */
typedef struct _XTBL_STATUS
{
BOOLEAN BootServices;
EFI_HANDLE ImageHandle;
PEFI_SYSTEM_TABLE SystemTable;
} XTBL_STATUS, *PXTBL_STATUS;
#endif /* __XTDK_BMTYPES_H */

View File

@@ -16,7 +16,7 @@
#include <xtstruct.h>
/* Architecture-specific XT forward references */
#include ARCH_HEADER(xtstruct.h)
// #include ARCH_HEADER(xtstruct.h)
/* Architecture-independent XT API */
#include <xtbase.h>
@@ -32,16 +32,16 @@
#include <rtltypes.h>
/* Architecture dependent XT kernel data types */
#include ARCH_HEADER(artypes.h)
#include ARCH_HEADER(hltypes.h)
// #include ARCH_HEADER(artypes.h)
// #include ARCH_HEADER(hltypes.h)
/* XT Kernel runtime routines */
#include <hlfuncs.h>
#include <rtlfuncs.h>
/* Architecture specific XT kernel routines */
#include ARCH_HEADER(arfuncs.h)
#include ARCH_HEADER(hlfuncs.h)
// #include ARCH_HEADER(arfuncs.h)
// #include ARCH_HEADER(hlfuncs.h)
/* Boot Manager specific structures */
#include <bltypes.h>