- Add missing KdPollBreakIn + DbgBreakPointWithStatus to ARM initialization
- Fix initialization of the D and I cache fields in the PCR -- it was always setting the second level
svn path=/trunk/; revision=43549
//
KdInitSystem(0, LoaderBlock);
//
KdInitSystem(0, LoaderBlock);
+ //
+ // Check for break-in
+ //
+ if (KdPollBreakIn()) DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
+
//
// Cleanup the rest of the processor block array
//
//
// Cleanup the rest of the processor block array
//
//
// Set global d-cache fill and alignment values
//
//
// Set global d-cache fill and alignment values
//
- if (Pcr->SecondLevelDcacheSize)
+ if (!Pcr->SecondLevelDcacheSize)
{
//
// Use the first level
//
{
//
// Use the first level
//
- Pcr->DcacheFillSize = Pcr->SecondLevelDcacheSize;
+ Pcr->DcacheFillSize = Pcr->FirstLevelDcacheSize;
//
// Set global i-cache fill and alignment values
//
//
// Set global i-cache fill and alignment values
//
- if (Pcr->SecondLevelIcacheSize)
+ if (!Pcr->SecondLevelIcacheSize)
{
//
// Use the first level
//
{
//
// Use the first level
//
- Pcr->IcacheFillSize = Pcr->SecondLevelIcacheSize;
+ Pcr->IcacheFillSize = Pcr->FirstLevelIcacheSize;
KdInitSystem(0, KeLoaderBlock);
/* Check for break-in */
KdInitSystem(0, KeLoaderBlock);
/* Check for break-in */
- if (KdPollBreakIn()) DbgBreakPointWithStatus(1);
+ if (KdPollBreakIn()) DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
}
/* Raise to HIGH_LEVEL */
}
/* Raise to HIGH_LEVEL */
/* Check for break-in */
if (KdPollBreakIn())
{
/* Check for break-in */
if (KdPollBreakIn())
{
- DbgBreakPointWithStatus(1);
+ DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
}
/* Raise to HIGH_LEVEL */
}
/* Raise to HIGH_LEVEL */