clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version.  The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I6e1b877213f3a2921d78ffe2a5fe71d93db65574
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
5 files changed
tree: 8ec7e00660809957f4a2f50a35f7b4dc6930e92e
  1. subprojects/
  2. .clang-format
  3. .gitignore
  4. create_usbhid.sh
  5. ikvm_args.cpp
  6. ikvm_args.hpp
  7. ikvm_input.cpp
  8. ikvm_input.hpp
  9. ikvm_manager.cpp
  10. ikvm_manager.hpp
  11. ikvm_server.cpp
  12. ikvm_server.hpp
  13. ikvm_video.cpp
  14. ikvm_video.hpp
  15. LICENSE
  16. meson.build
  17. obmc-ikvm.cpp
  18. OWNERS
  19. README.md
  20. scancodes.hpp
  21. start-ipkvm.service
README.md

OpenBMC IpKVM Server

The obmc-ikvm application is a VNC server that provides access to the host graphics output. The application interfaces with the video device on the BMC that captures the host graphics, and then serves that video data on the RFB (remote framebuffer, also known as VNC) protocol. The application also interfaces with the BMC USB gadget device to pass HID events from the BMC to the host, allowing the user to interact with the host system.

Usage

Once the host is running and an appropriate HID gadget device is instantiated on the BMC, the application can be started with the following command: obmc-ikvm -v <video device path> -i <HID gadget device path>

For example:

obmc-ikvm -v /dev/video0 -i /dev/hidg0