PPUThread refactoring

`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
This commit is contained in:
Nekotekina 2016-07-28 00:43:22 +03:00
parent 33c59fa51b
commit f8719c1230
99 changed files with 4480 additions and 4592 deletions

View file

@ -220,11 +220,11 @@ void KernelExplorer::Update()
}
// PPU Threads
if (const u32 count = idm::get_count<PPUThread>())
if (const u32 count = idm::get_count<ppu_thread>())
{
const auto& node = m_tree->AppendItem(root, fmt::format("PPU Threads (%zu)", count));
idm::select<PPUThread>([&](u32 id, PPUThread& ppu)
idm::select<ppu_thread>([&](u32 id, ppu_thread& ppu)
{
m_tree->AppendItem(node, fmt::format("PPU Thread: ID = 0x%08x '%s'", id, ppu.get_name()));
});