mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Use DBG_STATUS_CONTROL_C instead of magic "1"
- 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
This commit is contained in:
@@ -186,6 +186,11 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
|
||||
//
|
||||
KdInitSystem(0, LoaderBlock);
|
||||
|
||||
//
|
||||
// Check for break-in
|
||||
//
|
||||
if (KdPollBreakIn()) DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
|
||||
|
||||
//
|
||||
// Cleanup the rest of the processor block array
|
||||
//
|
||||
@@ -372,12 +377,12 @@ KiInitializeSystem(IN ULONG Magic,
|
||||
//
|
||||
// Set global d-cache fill and alignment values
|
||||
//
|
||||
if (Pcr->SecondLevelDcacheSize)
|
||||
if (!Pcr->SecondLevelDcacheSize)
|
||||
{
|
||||
//
|
||||
// Use the first level
|
||||
//
|
||||
Pcr->DcacheFillSize = Pcr->SecondLevelDcacheSize;
|
||||
Pcr->DcacheFillSize = Pcr->FirstLevelDcacheSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -395,12 +400,12 @@ KiInitializeSystem(IN ULONG Magic,
|
||||
//
|
||||
// Set global i-cache fill and alignment values
|
||||
//
|
||||
if (Pcr->SecondLevelIcacheSize)
|
||||
if (!Pcr->SecondLevelIcacheSize)
|
||||
{
|
||||
//
|
||||
// Use the first level
|
||||
//
|
||||
Pcr->IcacheFillSize = Pcr->SecondLevelIcacheSize;
|
||||
Pcr->IcacheFillSize = Pcr->FirstLevelIcacheSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -752,7 +752,7 @@ AppCpuInit:
|
||||
KdInitSystem(0, KeLoaderBlock);
|
||||
|
||||
/* Check for break-in */
|
||||
if (KdPollBreakIn()) DbgBreakPointWithStatus(1);
|
||||
if (KdPollBreakIn()) DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
|
||||
}
|
||||
|
||||
/* Raise to HIGH_LEVEL */
|
||||
|
||||
@@ -329,7 +329,7 @@ AppCpuInit:
|
||||
/* Check for break-in */
|
||||
if (KdPollBreakIn())
|
||||
{
|
||||
DbgBreakPointWithStatus(1);
|
||||
DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
|
||||
}
|
||||
|
||||
/* Raise to HIGH_LEVEL */
|
||||
|
||||
Reference in New Issue
Block a user