summaryrefslogtreecommitdiffstats
path: root/documentation/DEBUG statement
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/DEBUG statement')
-rw-r--r--documentation/DEBUG statement10
1 files changed, 10 insertions, 0 deletions
diff --git a/documentation/DEBUG statement b/documentation/DEBUG statement
new file mode 100644
index 0000000..eb110ff
--- /dev/null
+++ b/documentation/DEBUG statement
@@ -0,0 +1,10 @@
+
+Library to include:
+#include "Library/DebugLib.h"
+
+DEBUG (("%a: %d\n", _FUNCTION_, _LINE_));
+
+example:
+
+DEBUG((EFI_D_INFO, "My Entry Point: 0x%08x\r\n",(CHAR16*)UefiMain));
+