* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
*/
+/******************************************************************************\
+| WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
+|
+| Callbacks support supposes implicitely that the callbacks are used
+| in the SAME thread as the CPU thread, otherwise messing in parallel
+| with the CPU registers is 100% prone to bugs!!
+\******************************************************************************/
+
/* INCLUDES *******************************************************************/
#define NDEBUG
#if 0
if (Int32Proc[IntNumber] != NULL)
{
- DPRINT1("RegisterInt32: Interrupt 0x%X already registered!\n", IntNumber);
+ DPRINT1("RegisterInt32: Interrupt 0x%02X already registered!\n", IntNumber);
return 0;
}
#endif
PUCHAR Trampoline = TrampolineBase;
UCHAR OldTrampoline[INT16_TRAMPOLINE_SIZE];
- DPRINT("Int32Call(0x%X)\n", IntNumber);
+ DPRINT("Int32Call(0x%02X)\n", IntNumber);
/* Save the old trampoline */
((PULONGLONG)&OldTrampoline)[0] = ((PULONGLONG)TrampolineBase)[0];