972
edits
[unchecked revision] | [unchecked revision] |
No edit summary |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 69:
=== Structure (S390) ===
<
struct s390_psw {
uint32_t flags;
uint32_t address;
} __attribute__((packed, aligned(8)));
</syntaxhighlight>
=== Structure (z/Arch) ===
<
struct s390x_psw {
uint32_t hi_flags;
Line 84:
uint32_t lo_address;
} __attribute__((packed, aligned(8)));
</syntaxhighlight>
=== Portable PSW declaration ===
<
/* Helper function to create a PSW adjusted to the current machine */
#if (MACHINE >= M_ZARCH)
Line 108:
S390_PSW_ENABLE_ARCHMODE | S390_PSW_ENABLE_MCI | S390_PSW_WAIT_STATE| S390_PSW_IO_INT | S390_PSW_DAT
);
</syntaxhighlight>
=== Service Interrupt handler ===
<
.globl s390_supervisor_call_handler_stub
s390_supervisor_call_handler_stub:
Line 122:
lm %r0, %r15, S390_FLCGRSAV
lpsw S390_FLCSOPSW
</syntaxhighlight>
== See also ==
|