debug.c 462 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*++
  2. Copyright (c) 1998 Intel Corporation
  3. Module Name:
  4. debug.c
  5. Abstract:
  6. Debug library functions
  7. Revision History
  8. --*/
  9. #include "lib.h"
  10. //
  11. // Declare runtime functions
  12. //
  13. //
  14. //
  15. //
  16. INTN
  17. DbgAssert (
  18. IN CONST CHAR8 *FileName,
  19. IN INTN LineNo,
  20. IN CONST CHAR8 *Description
  21. )
  22. {
  23. DbgPrint (D_ERROR, (CHAR8 *)"%EASSERT FAILED: %a(%d): %a%N\n", FileName, LineNo, Description);
  24. BREAKPOINT();
  25. return 0;
  26. }