diff options
author | Petr Machata <pmachata@redhat.com> | 2012-05-30 13:18:51 -0400 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-08-29 19:03:18 +0200 |
commit | 8d30fd9f26ccd15f0fa27e09d1fd99deddb17d36 (patch) | |
tree | 7841f2c688f75f136c256ab07dbed4077e69629f /sysdeps | |
parent | 232fb3cf407d139a475b296ac5e95ae344771786 (diff) | |
download | ltrace-8d30fd9f26ccd15f0fa27e09d1fd99deddb17d36.tar.gz |
Move a comment where it belongs
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/linux-gnu/s390/fetch.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sysdeps/linux-gnu/s390/fetch.c b/sysdeps/linux-gnu/s390/fetch.c index 246c449..fc58efd 100644 --- a/sysdeps/linux-gnu/s390/fetch.c +++ b/sysdeps/linux-gnu/s390/fetch.c @@ -43,6 +43,16 @@ struct fetch_context { static int s390x(struct fetch_context *ctx) { + /* +--------+--------+--------+ + * | PSW.31 | PSW.32 | mode | + * +--------+--------+--------+ + * | 0 | 0 | 24-bit | Not supported in Linux + * | 0 | 1 | 31-bit | s390 compatible mode + * | 1 | 1 | 64-bit | z/Architecture, "s390x" + * +--------+--------+--------+ + * (Note: The leftmost bit is PSW.0, rightmost PSW.63.) + */ + #ifdef __s390x__ if ((ctx->regs.psw.mask & 0x180000000UL) == 0x180000000UL) return 1; @@ -186,15 +196,6 @@ static int allocate_fpr(struct fetch_context *ctx, struct Process *proc, struct arg_type_info *info, struct value *valuep) { - /* +--------+--------+--------+ - * | PSW.31 | PSW.32 | mode | - * +--------+--------+--------+ - * | 0 | 0 | 24-bit | - * | 0 | 1 | 31-bit | - * | 1 | 1 | 64-bit | - * +--------+--------+--------+ - * (Note: The leftmost bit is PSW.0, rightmost PSW.63.) - */ int pool = s390x(ctx) ? 6 : 2; |