[PATCH rtems v3 0/1] Regulator Patch Set

Joel Sherrill joel at rtems.org
Wed Aug 9 15:41:59 UTC 2023


Hi

This adds the regulator interface. I have implemented every suggestion
including adding a way to get some statistics and synchronizing with
the Delivery thread as part of deleting the regulator. 

Subsequent patches posted will add an example to rtems-examples and
adding a chapter to the Classic API Guide.

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

 cpukit/include/rtems/regulator.h              |  499 +++++++
 cpukit/include/rtems/regulatorimpl.h          |  135 ++
 cpukit/libmisc/regulator/regulator.c          |  683 +++++++++
 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 | 1310 +++++++++++++++++
 .../libtests/regulator01/regulator01.doc      |   67 +
 .../libtests/regulator01/rtems_config.c       |   59 +
 10 files changed, 2796 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.31.1



More information about the devel mailing list