newlib/winsup/cygwin/include/sys
Jon TURNEY 383ff5fc47 Try to make sure struct _mcontext is 16-byte aligned
On x86_64, RtlCaptureContext() uses fxsave to save FPU/MMX/SSE state.

fxsave requires that the destination address is 16-byte aligned, or it will
fault.

CONTEXT is already annotated __attribute__ ((aligned (16))), do the same with
struct _mcontext.

Rearrange ucontext_t so that it's struct _mcontext element is also correctly
aligned.

	* include/cygwin/signal.h (struct __mcontext): 16-byte align.
	* include/sys/ucontext.h (ucontext_t): Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-04-23 21:57:11 +02:00
..
acl.h
copying.dj
cygwin.h Add cygwin_internal() operation to retrieve the EXCEPTION_RECORD from a siginfo_t * 2015-04-23 21:57:10 +02:00
dirent.h
elf.h
elf32.h
elf64.h
elf_common.h
elf_generic.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
file.h * include/sys/file.h: Add extern "C". 2014-08-06 08:46:12 +00:00
ioctl.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ipc.h
kd.h
lock.h
mman.h
mount.h
msg.h
mtio.h
param.h
poll.h
procfs.h
quota.h
resource.h
select.h
sem.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
shm.h
smallprint.h
socket.h
soundcard.h
statfs.h
statvfs.h
stdio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
strace.h
sysinfo.h
syslimits.h
syslog.h
sysmacros.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sysproto.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
termio.h
termios.h
ttychars.h
ucontext.h Try to make sure struct _mcontext is 16-byte aligned 2015-04-23 21:57:11 +02:00
uio.h
un.h
utime.h
utmp.h
utsname.h
vfs.h
wait.h
xattr.h * include/sys/xattr.h: New file. 2011-03-29 08:03:35 +00:00