summaryrefslogtreecommitdiffstats
path: root/src/core/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/debug.c')
-rw-r--r--src/core/debug.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/core/debug.c b/src/core/debug.c
index 0e79a1abb..7a9a9c848 100644
--- a/src/core/debug.c
+++ b/src/core/debug.c
@@ -4,13 +4,21 @@
#include <ipxe/io.h>
#include <console.h>
-void pause ( void ) {
- printf ( "\nPress a key" );
+/**
+ * Pause until a key is pressed
+ *
+ */
+void dbg_pause ( void ) {
+ printf ( "\nPress a key..." );
getchar();
- printf ( "\r \r" );
+ printf ( "\r \r" );
}
-void more ( void ) {
+/**
+ * Indicate more data to follow and pause until a key is pressed
+ *
+ */
+void dbg_more ( void ) {
printf ( "---more---" );
getchar();
printf ( "\r \r" );