2 Internal ASSERT () functions for SetJump.
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include "BaseLibInternals.h"
15 Worker function that checks ASSERT condition for JumpBuffer
17 Checks ASSERT condition for JumpBuffer.
19 If JumpBuffer is NULL, then ASSERT().
20 For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
22 @param JumpBuffer A pointer to CPU context buffer.
27 InternalAssertJumpBuffer (
28 IN BASE_LIBRARY_JUMP_BUFFER
*JumpBuffer
31 ASSERT (JumpBuffer
!= NULL
);
33 ASSERT (((UINTN
)JumpBuffer
& (BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT
- 1)) == 0);