mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
nova: avoid syscall on invalid signal capability
Reduces kernel log message noise when running on kernel-debug branch. Additionally add a more verbose core message. Discovered during Turmvilla scenario #1552 and issue #1733.
This commit is contained in:
parent
94f64ef464
commit
70a3bb7465
@ -26,6 +26,9 @@ void Signal_transmitter::submit(unsigned cnt)
|
||||
Trace::Signal_submit trace_event(cnt);
|
||||
}
|
||||
|
||||
if (!_context.valid())
|
||||
return;
|
||||
|
||||
using namespace Nova;
|
||||
|
||||
uint8_t res = NOVA_OK;
|
||||
@ -33,5 +36,6 @@ void Signal_transmitter::submit(unsigned cnt)
|
||||
res = sm_ctrl(_context.local_name(), SEMAPHORE_UP);
|
||||
|
||||
if (res != NOVA_OK)
|
||||
PDBG("failed - error %u", res);
|
||||
PDBG("submitting signal failed - error %u - context=0x%lx", res,
|
||||
_context.local_name());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user