* Disabling XBox HAL for now (TEMPORARY MEASURE)
* Port MP HAL to the new loader structures
svn path=/trunk/; revision=24325
<directory name="mp">
<xi:include href="mp/halmp.rbuild" />
</directory>
-<directory name="xbox">
+<!--<directory name="xbox">
<xi:include href="xbox/halxbox.rbuild" />
-</directory>
+</directory>-->
#include <iotypes.h>
#include <kefuncs.h>
#include <halfuncs.h>
-#include <rosldr.h>
+#include <ldrtypes.h>
#define KPCR_BASE 0xFF000000 // HACK!
/***************************************************************************/
VOID
-HalpInitPhase0(PROS_LOADER_PARAMETER_BLOCK LoaderBlock)
+HalpInitPhase0(PLOADER_PARAMETER_BLOCK LoaderBlock)
{
static BOOLEAN MPSInitialized = FALSE;
DPRINT("HalpInitPhase0()\n");
- if (MPSInitialized)
+ if (MPSInitialized)
{
KEBUGCHECK(0);
}
}
/* store the kernel base for later use */
- KernelBase = ((PLOADER_MODULE)LoaderBlock->ModsAddr)[0].ModStart;
+ KernelBase = (ULONG_PTR)CONTAINING_RECORD(LoaderBlock->LoadOrderListHead.Flink, LDR_DATA_TABLE_ENTRY, InLoadOrderLinks)->DllBase;
}