mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
- Convert remaining KEBUGCHECK to KeBugCheck.
- Add HAL_MEMORY_ALLOCATION bug code and use it. svn path=/trunk/; revision=43282
This commit is contained in:
parent
eb721653ab
commit
f0c0e70c05
|
@ -120,7 +120,7 @@ VOID
|
|||
NTAPI
|
||||
HalStopProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ VOID
|
|||
NTAPI
|
||||
HalStartProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ ULONG_PTR
|
|||
NTAPI
|
||||
HalSetProfileInterval(IN ULONG_PTR Interval)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return Interval;
|
||||
}
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ HalGetBusDataByOffset(IN BUS_DATA_TYPE BusDataType,
|
|||
else if (BusDataType == EisaConfiguration)
|
||||
{
|
||||
/* FIXME: TODO */
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
}
|
||||
else if ((BusDataType == PCIConfiguration) &&
|
||||
(HalpPCIConfigInitialized) &&
|
||||
|
|
|
@ -1485,9 +1485,7 @@ HalpCopyBufferMap(
|
|||
* NOTE: On real NT a mechanism with reserved pages is implemented
|
||||
* to handle this case in a slow, but graceful non-fatal way.
|
||||
*/
|
||||
/* FIXME: The correct bug check code isn't defined. */
|
||||
/* KEBUGCHECKEX(HAL_MEMORY_ALLOCATION, PAGE_SIZE, 0, (ULONG_PTR)__FILE__, 0); */
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheckEx(HAL_MEMORY_ALLOCATION, PAGE_SIZE, 0, (ULONG_PTR)__FILE__, 0);
|
||||
}
|
||||
|
||||
CurrentAddress = (ULONG_PTR)VirtualAddress +
|
||||
|
|
|
@ -216,7 +216,7 @@ KfLowerIrql (KIRQL NewIrql)
|
|||
{
|
||||
DbgPrint ("(%s:%d) NewIrql %x CurrentIrql %x\n",
|
||||
__FILE__, __LINE__, NewIrql, KeGetPcr()->Irql);
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
for(;;);
|
||||
}
|
||||
|
||||
|
@ -251,7 +251,7 @@ KfRaiseIrql (KIRQL NewIrql)
|
|||
{
|
||||
DbgPrint ("%s:%d CurrentIrql %x NewIrql %x\n",
|
||||
__FILE__,__LINE__,KeGetPcr()->Irql,NewIrql);
|
||||
KEBUGCHECK (0);
|
||||
KeBugCheck (0);
|
||||
for(;;);
|
||||
}
|
||||
|
||||
|
@ -424,7 +424,7 @@ HalRequestSoftwareInterrupt(
|
|||
break;
|
||||
|
||||
default:
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -443,7 +443,7 @@ HalClearSoftwareInterrupt(
|
|||
break;
|
||||
|
||||
default:
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -496,7 +496,7 @@ HalpAssignPCISlotResources(IN PBUS_HANDLER BusHandler,
|
|||
IN ULONG Slot,
|
||||
IN OUT PCM_RESOURCE_LIST *pAllocatedResources)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ VOID
|
|||
NTAPI
|
||||
HalStopProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ VOID
|
|||
NTAPI
|
||||
HalStartProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ ULONG_PTR
|
|||
NTAPI
|
||||
HalSetProfileInterval(IN ULONG_PTR Interval)
|
||||
{
|
||||
KEBUGCHECK(0);
|
||||
KeBugCheck(0);
|
||||
return Interval;
|
||||
}
|
||||
|
||||
|
|
|
@ -1487,9 +1487,7 @@ HalpCopyBufferMap(
|
|||
* NOTE: On real NT a mechanism with reserved pages is implemented
|
||||
* to handle this case in a slow, but graceful non-fatal way.
|
||||
*/
|
||||
/* FIXME: The correct bug check code isn't defined. */
|
||||
/* KEBUGCHECKEX(HAL_MEMORY_ALLOCATION, PAGE_SIZE, 0, (ULONG_PTR)__FILE__, 0); */
|
||||
ASSERT(FALSE);
|
||||
KeBugCheckEx(HAL_MEMORY_ALLOCATION, PAGE_SIZE, 0, (ULONG_PTR)__FILE__, 0);
|
||||
}
|
||||
|
||||
CurrentAddress = (ULONG_PTR)VirtualAddress +
|
||||
|
|
|
@ -1168,6 +1168,14 @@ Language=English
|
|||
The system is booting in safemode - Directory Services Repair
|
||||
.
|
||||
|
||||
MessageId=0xAC
|
||||
Severity=Success
|
||||
Facility=System
|
||||
SymbolicName=HAL_MEMORY_ALLOCATION
|
||||
Language=English
|
||||
HAL_MEMORY_ALLOCATION
|
||||
.
|
||||
|
||||
MessageId=0xB4
|
||||
Severity=Success
|
||||
Facility=System
|
||||
|
|
Loading…
Reference in a new issue