ZXFoundation™ 26h2
Loading...
Searching...
No Matches
arch.s390x.io.devmatch Module Reference

Data Structures

struct  arch::s390x::css::devmatch::match_result
 Result of a device lookup. More...

Functions

constexpr auto arch::s390x::css::devmatch::class_name (dev_class cls) noexcept -> std::string_view
 Get a human-readable name for a device class.
constexpr auto arch::s390x::css::devmatch::cu_class_of (u16 cu_type) noexcept -> dev_class
 Get the device class for a control-unit type.
constexpr auto arch::s390x::css::devmatch::device_class_of (u16 dev_type) noexcept -> dev_class
 Get the device class for a device type.
constexpr auto arch::s390x::css::devmatch::lookup_cu (u16 cu_type) noexcept -> std::string_view
 Look up a control-unit type by its IBM 4-digit code.
constexpr auto arch::s390x::css::devmatch::lookup_device (u16 dev_type) noexcept -> std::string_view
 Look up a device type by its IBM 4-digit code.
constexpr auto arch::s390x::css::devmatch::match (u16 dev_type, u16 cu_type) noexcept -> match_result
 Combined lookup: match both device type and control-unit type.

Variables

dev_class cls
 Best-guess device class (from dev or cu).
std::string_view cu_name
 Human-readable control-unit name, or nullptr.
std::string_view dev_name
 Human-readable device name, or nullptr.

Files

file  arch/s390x/io/devmatch.cxxm
 z/Architecture CCW device identification database.