summaryrefslogtreecommitdiff
path: root/kern/log.c
AgeCommit message (Collapse)Author
2019-05-26kern/log: fix bulletin publicationRichard Braun
2019-05-19kern/{log,shell}: use a bulletin for initial log dump notificationRichard Braun
2019-05-05kern/log: fix log writesRichard Braun
Erase old messages when the message buffer gets full.
2019-04-24kern/log: rework with a message bufferRichard Braun
2019-01-25kern/log: fix overrun handlingRichard Braun
2018-07-25kern/{fmt,shell}: update from upstreamRichard Braun
The shell module has been "objectified" and now supports multiple instances with shareable command sets.
2018-07-10kern/panic: remove initialization operationRichard Braun
Maintaining correct dependencies for the panic function is too complicated. It may be used very early, but would depend on the console, which is normally available quite late during initialization. Instead, the behavior of panic is now "best effort", i.e. if called at a time where it works, good, otherwise, the behavior is undefined, but should result in a freeze or a reset most of the time.
2018-02-24New errno.h standard headerRichard Braun
Use standard errno codes. This change also adds strerror to string.h.
2017-12-03Revert "Make assert have no side effects"Richard Braun
This reverts commit d18d0e85596f90e0bd597b33d58209d0b3973c95.
2017-12-03kern/shell: don't make the public interface conditionalRichard Braun
2017-09-21New build systemRichard Braun
The new build system, called xbuild, is a minimalistic kbuild-like make-based build system, also using kconfig for scalable configurations.
2017-09-02Rework the build systemRichard Braun
2017-09-02Make assert have no side effectsRichard Braun
This makes sure symbols referenced by assert uses may not be generated if unused. The recently introduced __unused macro is used to suppress compiler warnings resulting from this change.
2017-07-24kern/cbuf: update from upstreamRichard Braun
2017-07-13kern/log: fix call to shell_startRichard Braun
2017-07-13Switch to initialization operationsRichard Braun
2017-06-24kern/log: force log messages to fit in a single lineRichard Braun
2017-06-23kern/log: use cbuf_range_valid where appropriateRichard Braun
2017-06-17kern/log: use the new buffered cbuf interfaceRichard Braun
The new code also fixes mistakes introduced by commit 164ccc1eeef9b335efa48ff3985a5c1c35bdecad, which replaced calls to cbuf_pop with cbuf_read, which doesn't update the start index, so that the shell command would know where to start dumping from. Some conditions were still relaying on the start index reflecting consumption.
2017-06-17kern/cbuf: implement buffered reads and writesRichard Braun
This change brings an interface for fast buffered accesses to the content of a circular buffer, and also an interface to write into a circular buffer at custom locations, in exchange for a small interface break of cbuf_read.
2017-06-11kern/log: serialize the start of the log and shell threadsRichard Braun
2017-06-11Make the diagnostics shell optionalRichard Braun
2017-06-11kern/log: improve shell command online helpRichard Braun
2017-06-10kern/log: remove extra semi-columnRichard Braun
2017-06-10kern/log: fix buffer consumption from log threadRichard Braun
2017-06-10kern/log: new log_dump shell commandRichard Braun
2017-06-10kern/log: filter output based on log levelRichard Braun
2017-06-10kern/log: new moduleRichard Braun