forked from xt-sys/exectos
Redesign a way of storing module information; this allows to store more data in a single section, like license or a list of authors, as well as solves the problem with different module name lengths
This commit is contained in:
@@ -190,6 +190,13 @@ typedef struct _XTBL_MEMORY_MAPPING
|
||||
LOADER_MEMORY_TYPE MemoryType;
|
||||
} XTBL_MEMORY_MAPPING, *PXTBL_MEMORY_MAPPING;
|
||||
|
||||
/* XTLDR Module dependencies data */
|
||||
typedef struct _XTBL_MODULE_AUTHORS
|
||||
{
|
||||
LIST_ENTRY Flink;
|
||||
PWCHAR AuthorName;
|
||||
} XTBL_MODULE_AUTHORS, *PXTBL_MODULE_AUTHORS;
|
||||
|
||||
/* XTLDR Module dependencies data */
|
||||
typedef struct _XTBL_MODULE_DEPS
|
||||
{
|
||||
@@ -203,6 +210,9 @@ typedef struct _XTBL_MODULE_INFO
|
||||
LIST_ENTRY Flink;
|
||||
PWCHAR ModuleName;
|
||||
PWCHAR ModuleDescription;
|
||||
PWCHAR License;
|
||||
PWCHAR Version;
|
||||
LIST_ENTRY Authors;
|
||||
LIST_ENTRY Dependencies;
|
||||
PVOID ModuleBase;
|
||||
ULONGLONG ModuleSize;
|
||||
|
Reference in New Issue
Block a user