Firmware dependent XT structures
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2022-11-12 12:21:08 +01:00
parent c2b720fbd8
commit 60c56c4462
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 49 additions and 0 deletions

48
sdk/xtdk/xtfw.h Normal file
View File

@ -0,0 +1,48 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/xtfw.h
* DESCRIPTION: EFI-dependent XT structures
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_XTFW_H
#define __XTDK_XTFW_H
#include "xttypes.h"
/* Memory allocation structures */
typedef enum _LOADER_MEMORY_TYPE
{
LoaderExceptionBlock,
LoaderSystemBlock,
LoaderFree,
LoaderBad,
LoaderLoadedProgram,
LoaderFirmwareTemporary,
LoaderFirmwarePermanent,
LoaderOsloaderHeap,
LoaderOsloaderStack,
LoaderSystemCode,
LoaderHalCode,
LoaderBootDriver,
LoaderConsoleInDriver,
LoaderConsoleOutDriver,
LoaderStartupDpcStack,
LoaderStartupKernelStack,
LoaderStartupPanicStack,
LoaderStartupPcrPage,
LoaderStartupPdrPage,
LoaderRegistryData,
LoaderMemoryData,
LoaderNlsData,
LoaderSpecialMemory,
LoaderBBTMemory,
LoaderReserve,
LoaderXIPRom,
LoaderHALCachedMemory,
LoaderMaximum
} LOADER_MEMORY_TYPE, *PLOADER_MEMORY_TYPE;
#endif /* __XTDK_XTFW_H */

View File

@ -22,6 +22,7 @@
#include "xtcommon.h"
#include "xtimage.h"
#include "xtuefi.h"
#include "xtfw.h"
/* Low level data types headers */
#include "rtltypes.h"