History log of /openbmc/phosphor-host-postd/7seg.cpp (Results 1 – 6 of 6)
Revision Date Author Comments
# 0ea7357e 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I509c8567baedea7c86787f2e880900da13ebfc9f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 5efea6a3 11-Jul-2022 Willy Tu <wltu@google.com>

enable 7seg by default for CI

Fix a build issue with 7seg.cpp

Change-Id: Iaeab1fd47612742c3ca1783fcd357769c802c7eb
Signed-off-by: Willy Tu <wltu@google.com>


# f8d0e0bf 11-May-2022 wukaihua-fii-na <eason.kh.wu@fii-na.com>

7seg: modify the file operation

Open the file descriptor in main() and close the file descriptor only
when the program is about to terminate. Closing the file descriptor at
DisplayDbusValue() in 7se

7seg: modify the file operation

Open the file descriptor in main() and close the file descriptor only
when the program is about to terminate. Closing the file descriptor at
DisplayDbusValue() in 7seg.cpp will make the program using poll() to
receive POST codes always return the POLLHUP and the poll() is not
actually blocked, which makes the program always preempt the CPU. This
modification prevents the user space program recieving POST codes via
poll() from preempting the CPU too much time.

Tested: using `top` to inspect whether the program receiving POST codes
from 7seg.cpp does not preempt the CPU resources.

Signed-off-by: wukaihua-fii-na <eason.kh.wu@fii-na.com>
Change-Id: I0824727d8cb207c1622da12ac833a089a676661e

show more ...


# 18119acc 16-Jun-2022 Patrick Williams <patrick@stwcx.xyz>

switch experimental::fs to std::fs

std::filesystem was added to C++17 and is well supported now. Remove
the older std::experimental::filesystem usage.

Signed-off-by: Patrick Williams <patrick@stwc

switch experimental::fs to std::fs

std::filesystem was added to C++17 and is well supported now. Remove
the older std::experimental::filesystem usage.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8bc4db47b259906f91ea51321c4e9ee1c34ca31f

show more ...


# e2abf442 16-Mar-2021 Nan Zhou <nanzhou@google.com>

fix 7seg to use the postcode_t type

Postcode handler changes its signature from uint64 to postcode_t.
7seg needs to change accordingly.

Tested:
Passed unit tests locally.

fix 7seg to use the postcode_t type

Postcode handler changes its signature from uint64 to postcode_t.
7seg needs to change accordingly.

Tested:
Passed unit tests locally.

Change-Id: I531ca7ecb174fd648064be60f157cb867bcee676
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>

show more ...


# 938c0e43 01-Apr-2020 Benjamin Fair <benjaminfair@google.com>

Add 7-segment display daemon

This daemon takes the path of a 7-segment display device node as its
argument and then writes POST codes which were received over D-Bus to
that device.

Add 7-segment display daemon

This daemon takes the path of a 7-segment display device node as its
argument and then writes POST codes which were received over D-Bus to
that device.

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Ic00548c3ebb5a7aa3c9a927c2de748595eb90e71

show more ...