Curle
d588e232c4
This branch has been dedicated to purely the UEFI bootloader. As such, all other code has been removed. This code can be compiled with Visual Studio, gcc or llvm.
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;
|
|
}
|
|
|