4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Implementation of SetJump() on IA-32.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Worker function that checks ASSERT condition for JumpBuffer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Checks ASSERT condition for JumpBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If JumpBuffer is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param JumpBuffer A pointer to CPU context buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Saves the current CPU context that can be restored with a call to LongJump()
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync and returns 0.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Saves the current CPU context in the buffer specified by JumpBuffer and
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync returns 0. The initial call to SetJump() must always return 0. Subsequent
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync calls to LongJump() cause a non-zero value to be returned by SetJump().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync If JumpBuffer is NULL, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param JumpBuffer A pointer to CPU context buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval 0 Indicates a return from SetJump().