forked from xt-sys/exectos
Use more generic name for this macro use pointer used behind it will point to kernel debugger after it gets initialized
This commit is contained in:
@@ -13,14 +13,14 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleSystemCall32()
|
||||
{
|
||||
LdrPrint(L"Handled 32-bit system call!\n");
|
||||
DebugPrint(L"Handled 32-bit system call!\n");
|
||||
}
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleSystemCall64()
|
||||
{
|
||||
LdrPrint(L"Handled 64-bit system call!\n");
|
||||
DebugPrint(L"Handled 64-bit system call!\n");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -34,7 +34,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap00()
|
||||
{
|
||||
LdrPrint(L"Handled Division-By-Zero Error (0x00)!\n");
|
||||
DebugPrint(L"Handled Division-By-Zero Error (0x00)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap01()
|
||||
{
|
||||
LdrPrint(L"Handled Debug exception (0x01)!\n");
|
||||
DebugPrint(L"Handled Debug exception (0x01)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap02()
|
||||
{
|
||||
LdrPrint(L"Handled Non-Maskable-Interrupt (0x02)!\n");
|
||||
DebugPrint(L"Handled Non-Maskable-Interrupt (0x02)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap03()
|
||||
{
|
||||
LdrPrint(L"Handled INT3 (0x03)!\n");
|
||||
DebugPrint(L"Handled INT3 (0x03)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap04()
|
||||
{
|
||||
LdrPrint(L"Handled Overflow exception (0x04)!\n");
|
||||
DebugPrint(L"Handled Overflow exception (0x04)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap05()
|
||||
{
|
||||
LdrPrint(L"Handled Bound-Range-Exceeded exception (0x05)!\n");
|
||||
DebugPrint(L"Handled Bound-Range-Exceeded exception (0x05)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap06()
|
||||
{
|
||||
LdrPrint(L"Handled Invalid Opcode exception (0x06)!\n");
|
||||
DebugPrint(L"Handled Invalid Opcode exception (0x06)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap07()
|
||||
{
|
||||
LdrPrint(L"Handled Device Not Available exception (0x07)!\n");
|
||||
DebugPrint(L"Handled Device Not Available exception (0x07)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap08()
|
||||
{
|
||||
LdrPrint(L"Handled Double-Fault exception (0x08)!\n");
|
||||
DebugPrint(L"Handled Double-Fault exception (0x08)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap09()
|
||||
{
|
||||
LdrPrint(L"Handled Segment-Overrun exception (0x09)!\n");
|
||||
DebugPrint(L"Handled Segment-Overrun exception (0x09)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0A()
|
||||
{
|
||||
LdrPrint(L"Handled Invalid-TSS exception (0x0A)!\n");
|
||||
DebugPrint(L"Handled Invalid-TSS exception (0x0A)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0B()
|
||||
{
|
||||
LdrPrint(L"Handled Segment-Not-Present exception (0x0B)!\n");
|
||||
DebugPrint(L"Handled Segment-Not-Present exception (0x0B)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0C()
|
||||
{
|
||||
LdrPrint(L"Handled Stack-Segment-Fault exception (0x0C)!\n");
|
||||
DebugPrint(L"Handled Stack-Segment-Fault exception (0x0C)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -229,7 +229,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0D()
|
||||
{
|
||||
LdrPrint(L"Handled General-Protection-Fault (0x0D)!\n");
|
||||
DebugPrint(L"Handled General-Protection-Fault (0x0D)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0E()
|
||||
{
|
||||
LdrPrint(L"Handled Page-Fault exception (0x0E)!\n");
|
||||
DebugPrint(L"Handled Page-Fault exception (0x0E)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap10()
|
||||
{
|
||||
LdrPrint(L"Handled x87 Floating-Point exception (0x10)!\n");
|
||||
DebugPrint(L"Handled x87 Floating-Point exception (0x10)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap11()
|
||||
{
|
||||
LdrPrint(L"Handled Alignment-Check exception (0x11)!\n");
|
||||
DebugPrint(L"Handled Alignment-Check exception (0x11)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -289,7 +289,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap12()
|
||||
{
|
||||
LdrPrint(L"Handled Machine-Check exception (0x12)!\n");
|
||||
DebugPrint(L"Handled Machine-Check exception (0x12)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap13()
|
||||
{
|
||||
LdrPrint(L"Handled SIMD Floating-Point exception (0x13)!\n");
|
||||
DebugPrint(L"Handled SIMD Floating-Point exception (0x13)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap2C()
|
||||
{
|
||||
LdrPrint(L"Handled Assertion (0x2C)!\n");
|
||||
DebugPrint(L"Handled Assertion (0x2C)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -334,7 +334,7 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap2D()
|
||||
{
|
||||
LdrPrint(L"Handled Debug-Service-Request (0x2D)!\n");
|
||||
DebugPrint(L"Handled Debug-Service-Request (0x2D)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
||||
@@ -349,6 +349,6 @@ XTCDECL
|
||||
VOID
|
||||
ArpHandleTrapFF()
|
||||
{
|
||||
LdrPrint(L"Handled Unexpected-Interrupt (0xFF)!\n");
|
||||
DebugPrint(L"Handled Unexpected-Interrupt (0xFF)!\n");
|
||||
for(;;);
|
||||
}
|
||||
|
Reference in New Issue
Block a user