summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/future.cpp
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2015-01-13 22:00:47 +0000
committerneel <neel@FreeBSD.org>2015-01-13 22:00:47 +0000
commit5c965bc58340b2ad1674080fadd1f3023b668584 (patch)
tree34bac79a7201ec2c856b1d8e89128080e1e56a1a /contrib/libc++/src/future.cpp
parentdf2eab9144b347f4ccb70222cebe87ba099e2349 (diff)
downloadFreeBSD-src-5c965bc58340b2ad1674080fadd1f3023b668584.zip
FreeBSD-src-5c965bc58340b2ad1674080fadd1f3023b668584.tar.gz
'struct vm_exception' was intended to be used only as the collateral for the
VM_INJECT_EXCEPTION ioctl. However it morphed into other uses like keeping track pending exceptions for a vcpu. This in turn causes confusion because some fields in 'struct vm_exception' like 'vcpuid' make sense only in the ioctl context. It also makes it harder to add or remove structure fields. Fix this by using 'struct vm_exception' only to communicate information from userspace to vmm.ko when injecting an exception. Also, add a field 'restart_instruction' to 'struct vm_exception'. This field is set to '1' for exceptions where the faulting instruction is restarted after the exception is handled. MFC after: 1 week
Diffstat (limited to 'contrib/libc++/src/future.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud