Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
Browse files Browse the repository at this point in the history
	Define.
	* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
	Likewise.
  • Loading branch information
Ulrich Drepper committed Oct 17, 2005
1 parent dd3af58 commit 4fa64d6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2005-10-17 Martin Schwidefsky <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
Define.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
Likewise.

2005-10-17 Ulrich Drepper <drepper@redhat.com>

* libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.
Expand Down
14 changes: 14 additions & 0 deletions sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,23 @@
#define SC_FLGS 0x000
#define SC_LINK 0x004
#define SC_STCK 0x008
#define SC_STSZ 0x010
#define SC_PSW 0x018
#define SC_GPRS 0x020
#define SC_ACRS 0x060
#define SC_FPC 0x0A0
#define SC_FPRS 0x0A8
#define SC_MASK 0x128

/* Tests run in stdlib/tst-ucontext-off. */
#define TESTS \
TEST (uc_flags, SC_FLGS); \
TEST (uc_link, SC_LINK); \
TEST (uc_stack.ss_sp, SC_STCK); \
TEST (uc_stack.ss_size, SC_STSZ); \
TEST (uc_mcontext.psw, SC_PSW); \
TEST (uc_mcontext.gregs, SC_GPRS); \
TEST (uc_mcontext.aregs, SC_ACRS); \
TEST (uc_mcontext.fpregs.fpc, SC_FPC); \
TEST (uc_mcontext.fpregs.fprs, SC_FPRS); \
TEST (uc_sigmask, SC_MASK);
13 changes: 13 additions & 0 deletions sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,23 @@
#define SC_FLGS 0x000
#define SC_LINK 0x008
#define SC_STCK 0x010
#define SC_STSZ 0x020
#define SC_PSW 0x028
#define SC_GPRS 0x038
#define SC_ACRS 0x0B8
#define SC_FPC 0x0F8
#define SC_FPRS 0x100
#define SC_MASK 0x180

/* Tests run in stdlib/tst-ucontext-off. */
#define TESTS \
TEST (uc_flags, SC_FLGS); \
TEST (uc_link, SC_LINK); \
TEST (uc_stack.ss_sp, SC_STCK); \
TEST (uc_stack.ss_size, SC_STSZ); \
TEST (uc_mcontext.psw, SC_PSW); \
TEST (uc_mcontext.gregs, SC_GPRS); \
TEST (uc_mcontext.aregs, SC_ACRS); \
TEST (uc_mcontext.fpregs.fpc, SC_FPC); \
TEST (uc_mcontext.fpregs.fprs, SC_FPRS); \
TEST (uc_sigmask, SC_MASK);

0 comments on commit 4fa64d6

Please sign in to comment.