Curle
4300dc655c
The lib/inc folders are from the GNU-EFI project. The documentation is from the uefi.org site. Yes, I know there are duplicate includes. I have a plan for them.
44 lines
462 B
C
44 lines
462 B
C
/*++
|
|
|
|
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;
|
|
}
|
|
|