diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-01-01 16:08:06 +0100 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 13:24:36 +0200 |
| commit | 1365632bdeb42e5e252566bb08c0d7d68640edd3 (patch) | |
| tree | ebeeb423dfe921afdcae02aa5f93bb6328d32aa9 /lib/mpi/mpiutil.c | |
| parent | 280ef0f1f982e4bd9a22ee3627ca06dccde59a64 (diff) | |
s390/ptrace: add struct psw and accessor function
Introduce a 'struct psw' which makes it easier to decode and test if
certain bits in a psw are set or are not set.
In addition also add a 'psw_bits()' helper define which allows to
directly modify and test a psw_t structure. E.g.
psw_t psw;
psw_bits(psw).t = 1; /* set dat bit */
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
