diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2015-03-12 21:15:38 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2015-03-12 21:15:38 +0000 |
commit | 0891b7923f3713d971f76360fbc4456b133cb8c8 (patch) | |
tree | 798d187bf95af41b0ad13f842f12f81202f189cb /sys/powerpc/include | |
parent | e3e7e80678036208f244e0052e8afd41728284fc (diff) | |
download | FreeBSD-src-0891b7923f3713d971f76360fbc4456b133cb8c8.zip FreeBSD-src-0891b7923f3713d971f76360fbc4456b133cb8c8.tar.gz |
Provide VSX context in ucontext(3) API.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/ucontext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/ucontext.h b/sys/powerpc/include/ucontext.h index 26f666c..34e391a 100644 --- a/sys/powerpc/include/ucontext.h +++ b/sys/powerpc/include/ucontext.h @@ -46,6 +46,7 @@ typedef struct __mcontext { uint32_t mc_av[2]; register_t mc_frame[42]; uint64_t mc_fpreg[33]; + uint64_t mc_vsxfpreg[32]; /* low-order half of VSR0-31 */ } mcontext_t __aligned(16); #if defined(_KERNEL) && defined(__powerpc64__) @@ -60,6 +61,7 @@ typedef struct __mcontext32 { uint32_t mc_av[2]; uint32_t mc_frame[42]; uint64_t mc_fpreg[33]; + uint64_t mc_vsxfpreg[32]; /* low-order half of VSR0-31 */ } mcontext32_t __aligned(16); #endif |