4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Implementation of SetJump() and LongJump() on EBC.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync SetJump() and LongJump() are not currently supported for the EBC processor type.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Implementation for EBC just returns 0 for SetJump(), and ASSERT() for LongJump().
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 Saves the current CPU context that can be restored with a call to LongJump() and returns 0.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Saves the current CPU context in the buffer specified by JumpBuffer and returns 0. The initial
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync call to SetJump() must always return 0. Subsequent calls to LongJump() cause a non-zero
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync 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().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Restores the CPU context that was saved with SetJump().
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Restores the CPU context from the buffer specified by JumpBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function never returns to the caller.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Instead it resumes execution based on the state of JumpBuffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param JumpBuffer A pointer to CPU context buffer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value The value to return when the SetJump() context is restored.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // This function cannot work on EBC