Last change
on this file since 80924 was 80721, checked in by vboxsync, 6 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
718 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 |
|
---|
10 |
|
---|
11 |
|
---|
12 | #include "BaseLibInternals.h"
|
---|
13 |
|
---|
14 | /**
|
---|
15 | Worker function that checks ASSERT condition for JumpBuffer
|
---|
16 |
|
---|
17 | Checks ASSERT condition for JumpBuffer.
|
---|
18 |
|
---|
19 | If JumpBuffer is NULL, then ASSERT().
|
---|
20 | For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
|
---|
21 |
|
---|
22 | @param JumpBuffer A pointer to CPU context buffer.
|
---|
23 |
|
---|
24 | **/
|
---|
25 | VOID
|
---|
26 | EFIAPI
|
---|
27 | InternalAssertJumpBuffer (
|
---|
28 | IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
|
---|
29 | )
|
---|
30 | {
|
---|
31 | ASSERT (JumpBuffer != NULL);
|
---|
32 |
|
---|
33 | ASSERT (((UINTN)JumpBuffer & (BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1)) == 0);
|
---|
34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.