[PATCH rtems v2 0/1] Regulator Patch Series

Joel Sherrill joel at rtems.org
Fri Jul 14 23:48:35 UTC 2023


This updated patch should address all of the questions and
issued raised for the previous version. Most of the changes
were to Doxygen but the following changes were to the code:

+ Message queue is now constructed which moves the allocation
  of the message buffer memory from RTEMS Workspace to the
  C Program Heap.

+ The Delivery Function now returns a boolean value to
  indicate if the Delivery Thread should release the buffer
  or not. This allows the Delivery Function to release the
  buffer itself or defer the release. The deferral might
  be used if the buffer is transferred to the Sink via
  DMA. In this case, the buffer would be released as
  part of processing DMA transfer complete.

Joel Sherrill (1):
  Add the Regulator Interface and test

 cpukit/include/rtems/regulator.h              |  439 ++++++
 cpukit/include/rtems/regulatorimpl.h          |  103 ++
 cpukit/libmisc/regulator/regulator.c          |  522 ++++++++
 spec/build/cpukit/librtemscpu.yml             |    2 +
 spec/build/cpukit/objregulator.yml            |   18 +
 spec/build/testsuites/libtests/grp.yml        |    2 +
 .../build/testsuites/libtests/regulator01.yml |   21 +
 testsuites/libtests/regulator01/regulator01.c | 1192 +++++++++++++++++
 .../libtests/regulator01/regulator01.doc      |   68 +
 .../libtests/regulator01/rtems_config.c       |   59 +
 10 files changed, 2426 insertions(+)
 create mode 100644 cpukit/include/rtems/regulator.h
 create mode 100644 cpukit/include/rtems/regulatorimpl.h
 create mode 100644 cpukit/libmisc/regulator/regulator.c
 create mode 100644 spec/build/cpukit/objregulator.yml
 create mode 100644 spec/build/testsuites/libtests/regulator01.yml
 create mode 100644 testsuites/libtests/regulator01/regulator01.c
 create mode 100644 testsuites/libtests/regulator01/regulator01.doc
 create mode 100644 testsuites/libtests/regulator01/rtems_config.c

-- 
2.24.4



More information about the devel mailing list