diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
| commit | 5339d016c07bf717ee388f4feb73544087324af0 (patch) | |
| tree | 94be6f67ed626091f24aee24ec3b3be03d01e4e7 /efiSDK/lib/debug.c | |
git: port from mercurial repo.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'efiSDK/lib/debug.c')
| -rw-r--r-- | efiSDK/lib/debug.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/efiSDK/lib/debug.c b/efiSDK/lib/debug.c new file mode 100644 index 00000000..b6351236 --- /dev/null +++ b/efiSDK/lib/debug.c @@ -0,0 +1,43 @@ +/*++ + +Copyright (c) 1998 Intel Corporation + +Module Name: + + debug.c + +Abstract: + + Debug library functions + + + +Revision History + +--*/ + +#include "lib.h" + + + +// +// Declare runtime functions +// + +// +// +// + +INTN +DbgAssert ( + IN CONST CHAR8 *FileName, + IN INTN LineNo, + IN CONST CHAR8 *Description + ) +{ + DbgPrint (D_ERROR, (CHAR8 *)"%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description); + + BREAKPOINT(); + return 0; +} + |
