summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm.h4
-rw-r--r--include/console.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm.h b/include/asm.h
index 03b06557..f5118b23 100644
--- a/include/asm.h
+++ b/include/asm.h
@@ -40,11 +40,11 @@ static inline void wait_for_debug(void)
{
uint64_t a, b;
int x;
- extern void msleep(unsigned long msecs);
+ extern void usleep(unsigned long usecs);
a = read_counter();
for (x = 0; x < 1000; x++) {
- msleep(1000);
+ usleep(1000);
b = read_counter();
if (a != b)
break;
diff --git a/include/console.h b/include/console.h
index 2a29c2dc..8eb4b47f 100644
--- a/include/console.h
+++ b/include/console.h
@@ -123,7 +123,7 @@ extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *fun
#define crypterr(rc) print_crypto_errors((rc), __FILE__, __func__, __LINE__)
#ifndef SHIM_UNIT_TEST
-extern VOID msleep(unsigned long msecs);
+extern VOID usleep(unsigned long usecs);
#endif
/* This is used in various things to determine if we should print to the