ZXFoundation™ 26h2
Loading...
Searching...
No Matches
arch::s390x::io::orb Struct Referenceexport

Operation Request Block — input to SSCH instruction. More...

Public Member Functions

constexpr auto set_cpa (u32 addr) noexcept -> void
 Set the Channel Program Address (word 2, 31-bit physical).
constexpr auto set_format1 () noexcept -> void
 Set Format-1 CCW bit (bit 8 of word 1).
constexpr auto set_key (u8 key) noexcept -> void
 Set the storage key in bits 0-3 of word 1.
constexpr auto set_lpm (u8 lpm) noexcept -> void
 Set the Logical Path Mask (bits 16-23 of word 1).

Data Fields

u32 _reserved3 {0}
 Word 3: CSS priority (reserved for us).
u32 _reserved4 {0}
 Word 4.
u32 _reserved5 {0}
 Word 5.
u32 _reserved6 {0}
 Word 6.
u32 _reserved7 {0}
 Word 7.
u32 cpa {0}
 Word 2: Channel Program Address (31-bit).
u32 ctrl {0}
 Word 1: Key + control flags + LPM + ILS.
u32 intparm {0}
 Word 0: Interruption parameter.

Detailed Description

Operation Request Block — input to SSCH instruction.

PoP §14.3.3 / Linux arch/s390/include/asm/cio.h. Word 1 layout (big-endian, bit 0 = MSB): key(0-3) | S(4) | C(5) | M(6) | Y(7) | F(8) | P(9) | I(10) | A(11) | U(12) | _(13) | H(14) | T(15) | LPM(16-23) | L(24) | _(25-30) | X(31)


The documentation for this struct was generated from the following file:
  • arch/s390x/io/types.cxxm