Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
576 B

  1. #ifndef MONITOR
  2. #ifdef A3CPU
  3. #include <nt.h>
  4. #include <ntrtl.h>
  5. #include <nturtl.h>
  6. #include <windows.h>
  7. #include "insignia.h"
  8. #include "host_def.h"
  9. #include "xt.h"
  10. #include "ica.h"
  11. void npx_interrupt_line_waggled()
  12. {
  13. ica_hw_interrupt(1, 5, 1);
  14. }
  15. // MIPS interface from CPU cacheflush request
  16. void cacheflush(long base_addr, long length)
  17. {
  18. // should check return, but what is correct action (Exit??) if failure?
  19. NtFlushInstructionCache(GetCurrentProcess(), (PVOID) base_addr, length);
  20. }
  21. void host_sigio_event()
  22. {
  23. }
  24. #endif /* A3CPU */
  25. #endif /* ! MONITOR */