sys_interrupt: Save ID of self tag/handler

This commit is contained in:
Eladash 2021-05-07 21:55:06 +03:00 committed by Ivan
parent 363cc60c82
commit 1e1880893a
3 changed files with 20 additions and 20 deletions

View file

@ -9,6 +9,19 @@
LOG_CHANNEL(sys_interrupt);
lv2_int_tag::lv2_int_tag() noexcept
: id(idm::last_id())
{
}
lv2_int_serv::lv2_int_serv(const std::shared_ptr<named_thread<ppu_thread>>& thread, u64 arg1, u64 arg2) noexcept
: id(idm::last_id())
, thread(thread)
, arg1(arg1)
, arg2(arg2)
{
}
void lv2_int_serv::exec() const
{
thread->cmd_list