acrn-hypervisor/hypervisor/include/common/delay.h

22 lines
327 B
C

/*
* Copyright (C) 2021 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef COMMON_DELAY_H
#define COMMON_DELAY_H
#include <types.h>
/**
* @brief Busy wait a few micro seconds.
*
* @param[in] us micro seconds to delay.
*
* @retval None
*/
void udelay(uint32_t us);
#endif /* COMMON_DELAY_H */