Commit Graph

9 Commits (5353b628736fae329aa986c1c6203156bb4f1d18)

Author SHA1 Message Date
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Maciej Bocianski b4fac71325 user allocated events: fix event cancelling
for user allocated events use id for event state tracking
skip event canceling when already canceled or dispatched
2020-02-12 10:20:27 +01:00
Maciej Bocianski acfdc588af equeue: skip equeue_incid call for user allocated events while dispatching
User allocaded events doesn't utilize id field in a way that normal
event does, so we shouldn't call equeue_incid on it
2020-02-12 10:20:26 +01:00
Kevin Bracey aad7d9183b equeue: avoid non-standard bit shifts
Shifting negative numbers right is implementation-defined, and shifting
positive signed numbers left and exceeding positive range is undefined.

Take care to make sure we always shift unsigned values.
2019-10-31 13:02:15 +02:00
Maciej Bocianski 4c3889dca1 EventQueue: allow passing (0, NULL) on static queue creation 2019-08-30 14:04:43 +02:00
Maciej Bocianski 66da694625 equeue: add user allocated event support
Allow posting events allocated outside queue memory
2019-08-29 15:02:14 +02:00
Teppo Järvelin 719117e12c Fix EventQueue::cancel to return value 2019-08-20 15:56:41 +03:00
Hugues Kamba 20f81e19be Change Doxygen groups structure, splitting first by Public/Internal (#11105)
* Change Doxygen groups structure, splitting first by Public/Internal

This commit also does the following:
* groups the documentation of related API
* moves `events/internal/equeue.h` to `events/equeue.h`
* merges `events/source/README.md` to `events/README.md`
2019-08-02 12:23:47 +01:00
Hugues Kamba bfa1b4dd84 Drivers/Events/RTOS Public and internal APIs cleanup (#10955)
Separate drivers, events, and rtos internal APIs from public APIs.

* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.

Release Notes

This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00