Last change
on this file was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
715 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Internal ASSERT () functions for SetJump.
|
---|
3 |
|
---|
4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #include "BaseLibInternals.h"
|
---|
10 |
|
---|
11 | /**
|
---|
12 | Worker function that checks ASSERT condition for JumpBuffer
|
---|
13 |
|
---|
14 | Checks ASSERT condition for JumpBuffer.
|
---|
15 |
|
---|
16 | If JumpBuffer is NULL, then ASSERT().
|
---|
17 | For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
|
---|
18 |
|
---|
19 | @param JumpBuffer A pointer to CPU context buffer.
|
---|
20 |
|
---|
21 | **/
|
---|
22 | VOID
|
---|
23 | EFIAPI
|
---|
24 | InternalAssertJumpBuffer (
|
---|
25 | IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
|
---|
26 | )
|
---|
27 | {
|
---|
28 | ASSERT (JumpBuffer != NULL);
|
---|
29 |
|
---|
30 | ASSERT (((UINTN)JumpBuffer & (BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1)) == 0);
|
---|
31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.