50 TRACE(
"Loading second stage loader '%s'\n", FullPath);
60 WARN(
"Failed to load second stage loader '%s'\n", FullPath);
76 if (!
LoadRosload(
"rosload.exe", &ImageBase, &RosloadDTE))
79 if (!
LoadRosload(
"loader\\rosload.exe", &ImageBase, &RosloadDTE))
86 printf(
"Launching rosload.exe...\n");
88 return (*EntryPoint)();
101 TRACE(
"BootMain() called.\n");
167 return _isctype((
char)wc, wctypeFlags);
171#pragma warning(disable:4164)
174#pragma function(log10)
#define DebugInit(DebugString)
#define DBG_DEFAULT_CHANNEL(ch)
#define MachInitializeBootDevices()
BOOLEAN MmInitializeMemoryManager(VOID)
VOID UiMessageBoxCritical(_In_ PCSTR MessageText)
BOOLEAN UiInitialize(BOOLEAN ShowUi)
FORCEINLINE PVOID VaToPa(PVOID Va)
static const WCHAR CmdLine[]
ULONG FrldrGetBootPartition(VOID)
VOID __cdecl BootMain(IN PCCH CmdLine)
CCHAR FrLdrBootPath[MAX_PATH]
PCCHAR FrLdrGetBootPath(VOID)
UCHAR FrldrGetBootDrive(VOID)
static ULONG LaunchSecondStageLoader(VOID)
double pow(double x, double y)
static BOOLEAN LoadRosload(_In_ PCSTR RosloadPath, _Out_ PVOID *ImageBase, _Out_ PLDR_DATA_TABLE_ENTRY *DataTableEntry)
int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei count
GLint GLint GLint GLint GLint GLint y
_Check_return_ _CRTIMP int __cdecl _isctype(_In_ int _C, _In_ int _Type)
void __cdecl __debugbreak(void)
VOID FrLdrCheckCpuCompatibility(VOID)
VOID MachInit(IN PCCH CommandLine)
NTSTRSAFEVAPI RtlStringCbPrintfA(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PSTR pszDest, _In_ size_t cbDest, _In_ _Printf_format_string_ NTSTRSAFE_PCSTR pszFormat,...)
BOOLEAN PeLdrLoadBootImage(_In_ PCSTR FilePath, _In_ PCSTR BaseDllName, _Out_ PVOID *ImageBase, _Out_ PLDR_DATA_TABLE_ENTRY *DataTableEntry)
BOOLEAN PeLdrInitializeModuleList(VOID)
size_t const wchar_t const wchar