Set Host1x log tag correctly

This commit is contained in:
Billy Laws 2022-05-11 22:11:16 +01:00
parent f89bacf8ae
commit dd0004e208

View File

@ -115,6 +115,8 @@ namespace skyline::soc::host1x {
void ChannelCommandFifo::Run() { void ChannelCommandFifo::Run() {
pthread_setname_np(pthread_self(), "ChannelCommandFifo"); pthread_setname_np(pthread_self(), "ChannelCommandFifo");
Logger::UpdateTag();
try { try {
signal::SetSignalHandler({SIGINT, SIGILL, SIGTRAP, SIGBUS, SIGFPE}, signal::ExceptionalSignalHandler); signal::SetSignalHandler({SIGINT, SIGILL, SIGTRAP, SIGBUS, SIGFPE}, signal::ExceptionalSignalHandler);
signal::SetSignalHandler({SIGSEGV}, nce::NCE::HostSignalHandler); // We may access NCE trapped memory signal::SetSignalHandler({SIGSEGV}, nce::NCE::HostSignalHandler); // We may access NCE trapped memory