#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ XIPDispatch()
Definition at line 20 of file xipdisp.c.
23{
26}
#define STATUS_NOT_IMPLEMENTED
◆ XIPInit()
Definition at line 55 of file xipdisp.c.
56{
57 PCHAR CommandLine, XipBoot, XipRom, XipMegs, XipVerbose, XipRam;
59
60
61 CommandLine = LoaderBlock->LoadOptions;
62 if (!CommandLine) return;
63
64
65 XipBoot =
strstr(CommandLine,
"XIPBOOT");
66 XipRam =
strstr(CommandLine,
"XIPRAM=");
67 XipRom =
strstr(CommandLine,
"XIPROM=");
68 XipMegs =
strstr(CommandLine,
"XIPMEGS=");
69 XipVerbose =
strstr(CommandLine,
"XIPVERBOSE");
70
71
72 if (XipVerbose)
73 {
74
75 DbgPrint(
"\n\nXIP: debug timestamp at line %d in %s: <<<%s %s>>>\n\n",
76 __LINE__,
77 __FILE__,
78 __DATE__,
79 __TIME__);
80 }
81
82
84 if (!XipDescriptor) return;
85
86
87
88
89
91
92
93 DPRINT1(
"ReactOS does not yet support eXecute In Place boot technology\n");
94 DPRINT(
"%s MB requested (XIP = %s)\n", XipMegs, XipBoot);
95}
char * strstr(char *String1, char *String2)
PMEMORY_ALLOCATION_DESCRIPTOR NTAPI XIPpFindMemoryDescriptor(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
Referenced by Phase1InitializationDiscard().
◆ XIPpFindMemoryDescriptor()
Definition at line 31 of file xipdisp.c.
32{
35
36
37 for (NextEntry = LoaderBlock->MemoryDescriptorListHead.Flink;
38 NextEntry != &LoaderBlock->MemoryDescriptorListHead;
39 NextEntry = NextEntry->
Flink)
40 {
41
44 ListEntry);
46 }
47
48
50}
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
Referenced by XIPInit().