No parameters are expected, explicitly
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArClearInterruptFlag()
|
||||
ArClearInterruptFlag(VOID)
|
||||
{
|
||||
asm volatile("cli");
|
||||
}
|
||||
@@ -76,7 +76,7 @@ ArCpuId(IN OUT PCPUID_REGISTERS Registers)
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArFlushTlb()
|
||||
ArFlushTlb(VOID)
|
||||
{
|
||||
/* Flush the TLB by resetting the CR3 */
|
||||
ArWriteControlRegister(3, ArReadControlRegister(3));
|
||||
@@ -92,7 +92,7 @@ ArFlushTlb()
|
||||
XTASSEMBLY
|
||||
XTCDECL
|
||||
ULONG_PTR
|
||||
ArGetStackPointer()
|
||||
ArGetStackPointer(VOID)
|
||||
{
|
||||
/* Get current stack pointer */
|
||||
asm volatile("mov %%esp, %%eax\n"
|
||||
@@ -111,7 +111,7 @@ ArGetStackPointer()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArHalt()
|
||||
ArHalt(VOID)
|
||||
{
|
||||
asm volatile("hlt");
|
||||
}
|
||||
@@ -276,7 +276,7 @@ ArLoadTaskRegister(USHORT Source)
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArMemoryBarrier()
|
||||
ArMemoryBarrier(VOID)
|
||||
{
|
||||
LONG Barrier;
|
||||
asm volatile("xchg %%eax, %0"
|
||||
@@ -463,7 +463,7 @@ ArReadModelSpecificRegister(IN ULONG Register)
|
||||
*/
|
||||
XTCDECL
|
||||
UINT
|
||||
ArReadMxCsrRegister()
|
||||
ArReadMxCsrRegister(VOID)
|
||||
{
|
||||
return __builtin_ia32_stmxcsr();
|
||||
}
|
||||
@@ -477,7 +477,7 @@ ArReadMxCsrRegister()
|
||||
*/
|
||||
XTCDECL
|
||||
ULONGLONG
|
||||
ArReadTimeStampCounter()
|
||||
ArReadTimeStampCounter(VOID)
|
||||
{
|
||||
ULONGLONG Value;
|
||||
|
||||
@@ -496,7 +496,7 @@ ArReadTimeStampCounter()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArReadWriteBarrier()
|
||||
ArReadWriteBarrier(VOID)
|
||||
{
|
||||
asm volatile(""
|
||||
:
|
||||
@@ -513,7 +513,7 @@ ArReadWriteBarrier()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArSetInterruptFlag()
|
||||
ArSetInterruptFlag(VOID)
|
||||
{
|
||||
asm volatile("sti");
|
||||
}
|
||||
@@ -825,7 +825,7 @@ ArWriteModelSpecificRegister(IN ULONG Register,
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArYieldProcessor()
|
||||
ArYieldProcessor(VOID)
|
||||
{
|
||||
asm volatile("pause"
|
||||
:
|
||||
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap00()
|
||||
ArpHandleTrap00(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Division-By-Zero Error (0x00)!\n");
|
||||
for(;;);
|
||||
@@ -33,7 +33,7 @@ ArpHandleTrap00()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap01()
|
||||
ArpHandleTrap01(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Debug exception (0x01)!\n");
|
||||
for(;;);
|
||||
@@ -48,7 +48,7 @@ ArpHandleTrap01()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap02()
|
||||
ArpHandleTrap02(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Non-Maskable-Interrupt (0x02)!\n");
|
||||
for(;;);
|
||||
@@ -63,7 +63,7 @@ ArpHandleTrap02()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap03()
|
||||
ArpHandleTrap03(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled INT3 (0x03)!\n");
|
||||
for(;;);
|
||||
@@ -78,7 +78,7 @@ ArpHandleTrap03()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap04()
|
||||
ArpHandleTrap04(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Overflow exception (0x04)!\n");
|
||||
for(;;);
|
||||
@@ -93,7 +93,7 @@ ArpHandleTrap04()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap05()
|
||||
ArpHandleTrap05(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Bound-Range-Exceeded exception (0x05)!\n");
|
||||
for(;;);
|
||||
@@ -108,7 +108,7 @@ ArpHandleTrap05()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap06()
|
||||
ArpHandleTrap06(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Invalid Opcode exception (0x06)!\n");
|
||||
for(;;);
|
||||
@@ -123,7 +123,7 @@ ArpHandleTrap06()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap07()
|
||||
ArpHandleTrap07(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Device Not Available exception (0x07)!\n");
|
||||
for(;;);
|
||||
@@ -138,7 +138,7 @@ ArpHandleTrap07()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap08()
|
||||
ArpHandleTrap08(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Double-Fault exception (0x08)!\n");
|
||||
for(;;);
|
||||
@@ -153,7 +153,7 @@ ArpHandleTrap08()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap09()
|
||||
ArpHandleTrap09(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Segment-Overrun exception (0x09)!\n");
|
||||
for(;;);
|
||||
@@ -168,7 +168,7 @@ ArpHandleTrap09()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0A()
|
||||
ArpHandleTrap0A(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Invalid-TSS exception (0x0A)!\n");
|
||||
for(;;);
|
||||
@@ -183,7 +183,7 @@ ArpHandleTrap0A()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0B()
|
||||
ArpHandleTrap0B(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Segment-Not-Present exception (0x0B)!\n");
|
||||
for(;;);
|
||||
@@ -198,7 +198,7 @@ ArpHandleTrap0B()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0C()
|
||||
ArpHandleTrap0C(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Stack-Segment-Fault exception (0x0C)!\n");
|
||||
for(;;);
|
||||
@@ -213,7 +213,7 @@ ArpHandleTrap0C()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0D()
|
||||
ArpHandleTrap0D(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled General-Protection-Fault (0x0D)!\n");
|
||||
for(;;);
|
||||
@@ -228,7 +228,7 @@ ArpHandleTrap0D()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap0E()
|
||||
ArpHandleTrap0E(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Page-Fault exception (0x0E)!\n");
|
||||
for(;;);
|
||||
@@ -243,7 +243,7 @@ ArpHandleTrap0E()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap10()
|
||||
ArpHandleTrap10(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled x87 Floating-Point exception (0x10)!\n");
|
||||
for(;;);
|
||||
@@ -258,7 +258,7 @@ ArpHandleTrap10()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap11()
|
||||
ArpHandleTrap11(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Alignment-Check exception (0x11)!\n");
|
||||
for(;;);
|
||||
@@ -273,7 +273,7 @@ ArpHandleTrap11()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap12()
|
||||
ArpHandleTrap12(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Machine-Check exception (0x12)!\n");
|
||||
for(;;);
|
||||
@@ -288,7 +288,7 @@ ArpHandleTrap12()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap13()
|
||||
ArpHandleTrap13(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled SIMD Floating-Point exception (0x13)!\n");
|
||||
for(;;);
|
||||
@@ -303,7 +303,7 @@ ArpHandleTrap13()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap2C()
|
||||
ArpHandleTrap2C(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Assertion (0x2C)!\n");
|
||||
for(;;);
|
||||
@@ -318,7 +318,7 @@ ArpHandleTrap2C()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrap2D()
|
||||
ArpHandleTrap2D(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Debug-Service-Request (0x2D)!\n");
|
||||
for(;;);
|
||||
@@ -333,7 +333,7 @@ ArpHandleTrap2D()
|
||||
*/
|
||||
XTCDECL
|
||||
VOID
|
||||
ArpHandleTrapFF()
|
||||
ArpHandleTrapFF(VOID)
|
||||
{
|
||||
DebugPrint(L"Handled Unexpected-Interrupt (0xFF)!\n");
|
||||
for(;;);
|
||||
|
Reference in New Issue
Block a user