summaryrefslogtreecommitdiffstats
path: root/documentation/DEBUG statement
diff options
context:
space:
mode:
authorRegia König2022-08-15 17:09:30 +0200
committerRegia König2022-08-15 17:09:30 +0200
commitc74fca5e3c4ff12865c57ba83702ae6586fa45a8 (patch)
treef0d590a026973f26ef3b576dbf463b7d3b75fb43 /documentation/DEBUG statement
parentMore documentation and test.sh is updated to use monitor at stdio (diff)
downloadmemtest86-c74fca5e3c4ff12865c57ba83702ae6586fa45a8.tar.gz
memtest86-c74fca5e3c4ff12865c57ba83702ae6586fa45a8.tar.xz
memtest86-c74fca5e3c4ff12865c57ba83702ae6586fa45a8.zip
More documentation
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));
+