25#define HAS_DEPRECATED_OPTIONS
27#define UINT64_C(val) val##ULL
28#define RVA(m, b) ((PVOID)((ULONG_PTR)(b) + (ULONG_PTR)(m)))
30#define ROUND_DOWN(n, align) \
31 (((ULONG)n) & ~((align) - 1l))
33#define ROUND_UP(n, align) \
34 ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
97#define printf TuiPrintf
103#if defined(_M_IX86) || defined(_M_AMD64)
111#if defined(SARCH_PC98)
113#elif defined(SARCH_XBOX)
120#elif defined(_M_AMD64)
124#include <arch/powerpc/hardware.h>
127#elif defined(_M_MIPS)
128#include <arch/mips/arcbios.h>
133#ifdef HAS_DEPRECATED_OPTIONS
144#ifdef HAS_OPTION_MENU_EDIT_CMDLINE
146EditOperatingSystemEntry(
static const WCHAR CmdLine[]
VOID WarnDeprecated(_In_ PCSTR MsgFmt,...)
VOID FrLdrCheckCpuCompatibility(VOID)
VOID __cdecl BootMain(IN PCCH CmdLine)
VOID LoadOperatingSystem(_In_ OperatingSystemItem *OperatingSystem)