summaryrefslogtreecommitdiff
path: root/lib/console.c
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2024-02-17 17:35:37 +0000
committerSteve McIntyre <steve@einval.com>2024-05-03 14:36:51 +0100
commitf898e219b4b06cf2bb7af18b5cc7a00754d3d274 (patch)
treec535b3ff1b13388dbaa7072c7f5ec78f5d73ee53 /lib/console.c
parent3cf4042d82ef314f19e9f7bd4f86c4b59efd8233 (diff)
downloadefi-boot-shim-f898e219b4b06cf2bb7af18b5cc7a00754d3d274.tar.gz
efi-boot-shim-f898e219b4b06cf2bb7af18b5cc7a00754d3d274.zip
New upstream version 15.8
Diffstat (limited to 'lib/console.c')
-rw-r--r--lib/console.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/console.c b/lib/console.c
index 6bbb8a7c..a751f79d 100644
--- a/lib/console.c
+++ b/lib/console.c
@@ -743,11 +743,13 @@ setup_verbosity(VOID)
setup_console(-1);
}
+#ifndef SHIM_UNIT_TEST
VOID
-msleep(unsigned long msecs)
+usleep(unsigned long usecs)
{
- BS->Stall(msecs);
+ BS->Stall(usecs);
}
+#endif
/* This is used in various things to determine if we should print to the
* console */