mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-30 04:33:58 +00:00
Modules that use udelay() should include "delay.h" explicitly. Tracked-On: #5920 Signed-off-by: Rong Liu <rong2.liu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
22 lines
327 B
C
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 */
|