Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "hook.h"
  2. #include "harness/trace.h"
  3.  
  4. // IDA: br_error __cdecl HostInterruptHook(host_interrupt_hook *h, br_uint_8 vector, br_uint_32 off, br_uint_16 sel)
  5. br_error HostInterruptHook(host_interrupt_hook* h, br_uint_8 vector, br_uint_32 off, br_uint_16 sel) {
  6.     //br_error r; // Pierre-Marie Baty -- unused variable
  7.     LOG_TRACE("(%p, %d, %d, %d)", h, vector, off, sel);
  8.     NOT_IMPLEMENTED();
  9. }
  10.  
  11. // IDA: br_error __cdecl HostInterruptUnhook(host_interrupt_hook *h)
  12. br_error HostInterruptUnhook(host_interrupt_hook* h) {
  13.     //br_error r; // Pierre-Marie Baty -- unused variable
  14.     LOG_TRACE("(%p)", h);
  15.     NOT_IMPLEMENTED();
  16. }
  17.  
  18. // IDA: br_error __cdecl HostExceptionHook(host_exception_hook *h, br_uint_8 exception, br_uint_32 off, br_uint_16 sel)
  19. br_error HostExceptionHook(host_exception_hook* h, br_uint_8 exception, br_uint_32 off, br_uint_16 sel) {
  20.     //br_error r; // Pierre-Marie Baty -- unused variable
  21.     LOG_TRACE("(%p, %d, %d, %d)", h, exception, off, sel);
  22.     NOT_IMPLEMENTED();
  23. }
  24.  
  25. // IDA: br_error __cdecl HostExceptionUnhook(host_exception_hook *h)
  26. br_error HostExceptionUnhook(host_exception_hook* h) {
  27.     //br_error r; // Pierre-Marie Baty -- unused variable
  28.     LOG_TRACE("(%p)", h);
  29.     NOT_IMPLEMENTED();
  30. }
  31.