sys/kern: Add lockmgr support

- See `man lockmgr`

- Implement the lock_object and move the RTEMS mutex to that object

- Add debug support to track the locks with gdb

Update #4475
This commit is contained in:
Chris Johns
2021-07-20 16:24:54 +10:00
parent e1ca99b535
commit 46a15fa7aa
17 changed files with 727 additions and 83 deletions

View File

@@ -45,6 +45,7 @@
#include <sys/proc.h>
#include <rtems.h>
#include <rtems/score/thread.h>
extern sbintime_t rtems_bsd_sbt_per_watchdog_tick;