git: dsynth - Abstract the run-status infrastructure

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 26 22:33:24 PDT 2019


commit ea37671df32972e5ab85505aad1eaaf6a307b013
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 26 22:31:41 2019 -0700

    dsynth - Abstract the run-status infrastructure
    
    * Abstract the run-status infrastructure and add skeletons for html
      and a 'dsynth monitor' style monitor.
    
      Neither is implemented yet but this moves most of the hard work
      out of gui.c (and renames it to ncurses.c) so it doesn't have to
      be replicated for the other two.

Summary of changes:
 usr.bin/dsynth/Makefile                            |   3 +-
 usr.bin/dsynth/build.c                             |  30 ++--
 usr.bin/dsynth/dsynth.h                            |  49 +++++-
 .../platform/sysarch.c => usr.bin/dsynth/html.c    |  61 ++++---
 .../dloader/dloader.h => usr.bin/dsynth/monitor.c  |  64 ++++---
 usr.bin/dsynth/{gui.c => ncurses.c}                | 146 +++++-----------
 usr.bin/dsynth/runstats.c                          | 188 +++++++++++++++++++++
 7 files changed, 380 insertions(+), 161 deletions(-)
 copy sys/platform/vkernel64/platform/sysarch.c => usr.bin/dsynth/html.c (71%)
 copy sys/boot/dloader/dloader.h => usr.bin/dsynth/monitor.c (70%)
 rename usr.bin/dsynth/{gui.c => ncurses.c} (80%)
 create mode 100644 usr.bin/dsynth/runstats.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea37671df32972e5ab85505aad1eaaf6a307b013


-- 
DragonFly BSD source repository



More information about the Commits mailing list