core.h 862 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "core/arm/arm_interface.h"
  6. #include "core/arm/interpreter/armdefs.h"
  7. ////////////////////////////////////////////////////////////////////////////////////////////////////
  8. namespace Core {
  9. extern ARM_Interface* g_app_core; ///< ARM11 application core
  10. extern ARM_Interface* g_sys_core; ///< ARM11 system (OS) core
  11. ////////////////////////////////////////////////////////////////////////////////////////////////////
  12. /// Start the core
  13. void Start();
  14. /// Run the core CPU loop
  15. void RunLoop();
  16. /// Step the CPU one instruction
  17. void SingleStep();
  18. /// Halt the core
  19. void Halt(const char *msg);
  20. /// Kill the core
  21. void Stop();
  22. /// Initialize the core
  23. int Init();
  24. /// Shutdown the core
  25. void Shutdown();
  26. } // namespace