[rtems-central commit] spec: Specify <sys/lock.h>

Sebastian Huber sebh at rtems.org
Thu Sep 2 12:56:42 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    a15261c95acbce5aa5ac01416edd9461f999520c
Changeset: http://git.rtems.org/rtems-central/commit/?id=a15261c95acbce5aa5ac01416edd9461f999520c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep  2 14:56:04 2021 +0200

spec: Specify <sys/lock.h>

---

 spec/c/if/sys-lock.yml       | 15 +++++++++++++++
 spec/score/futex/if/wait.yml |  2 ++
 spec/score/futex/if/wake.yml |  2 ++
 3 files changed, 19 insertions(+)

diff --git a/spec/c/if/sys-lock.yml b/spec/c/if/sys-lock.yml
new file mode 100644
index 0000000..93ccb1b
--- /dev/null
+++ b/spec/c/if/sys-lock.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+  This header file defines the Newlib-specific interfaces to lock and
+  synchronization objects.
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+index-entries: []
+interface-type: header-file
+links:
+- role: interface-placement
+  uid: domain
+path: sys/lock.h
+prefix: ''
+type: interface
diff --git a/spec/score/futex/if/wait.yml b/spec/score/futex/if/wait.yml
index 7712379..6101b36 100644
--- a/spec/score/futex/if/wait.yml
+++ b/spec/score/futex/if/wait.yml
@@ -7,6 +7,8 @@ interface-type: unspecified-function
 links:
 - role: interface-ingroup
   uid: group
+- role: interface-placement
+  uid: /c/if/sys-lock
 name: _Futex_Wait
 references: {}
 type: interface
diff --git a/spec/score/futex/if/wake.yml b/spec/score/futex/if/wake.yml
index 74c5b32..f6f6930 100644
--- a/spec/score/futex/if/wake.yml
+++ b/spec/score/futex/if/wake.yml
@@ -7,6 +7,8 @@ interface-type: unspecified-function
 links:
 - role: interface-ingroup
   uid: group
+- role: interface-placement
+  uid: /c/if/sys-lock
 name: _Futex_Wake
 references: {}
 type: interface



More information about the vc mailing list