genode/base-nova/include
Alexander Boettcher 4342d0d234 NOVA: let thread die if SM cap is invalid
Patch prevents following bugs:

* In sleep_forever the thread return from semaphore down if cap is revoked
  during destruction of a thread. This causes an endless loop consuming time
  not available for other threads.
* In lock_helper and cap_sel_alloc the thread return from the lock() method
  even if the semaphore down call failed because of an revoked semaphore.

  This lead to the situation that a thread subject to de-construction returns
  from the lock method, but not holding the lock, entering the critical section
  and modifying state inside the critical section. Another thread in parallel
  already in the critical section or entering the critical section also
  modifies the state. This lead to curious bugs ...
* thread_nova, thread_start, irq_session
  Detect early bugs if the SM is gone unexpectedly where it should never
  happen.
2012-08-09 11:09:42 +02:00
..
32bit/nova Move semaphore op codes to generic syscall 2012-07-04 14:56:45 +02:00
64bit/nova Move semaphore op codes to generic syscall 2012-07-04 14:56:45 +02:00
base NOVA: let thread die if SM cap is invalid 2012-08-09 11:09:42 +02:00
cap_session NOVA: extend cap session for base-nova 2012-08-09 11:09:40 +02:00
nova NOVA: let thread die if SM cap is invalid 2012-08-09 11:09:42 +02:00
nova_cpu_session NOVA: extend cpu_session for base-nova 2012-08-09 11:09:40 +02:00
pd_session NOVA: force to map cap in pd_session::assing_pd 2012-08-09 11:09:41 +02:00
signal_session NOVA: let thread die if SM cap is invalid 2012-08-09 11:09:42 +02:00