mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv:move 'udelay' to timer.c
-- move this api from misc.c to timer.c to avoid reverse dependency, and remove misc.c Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
@@ -49,6 +49,8 @@ struct hv_timer {
|
||||
|
||||
#define CYCLES_PER_MS us_to_ticks(1000U)
|
||||
|
||||
void udelay(uint32_t us);
|
||||
|
||||
/**
|
||||
* @brief convert us to ticks.
|
||||
*
|
||||
|
@@ -30,7 +30,6 @@ static inline bool is_space(char c)
|
||||
}
|
||||
|
||||
/* Function prototypes */
|
||||
void udelay(uint32_t us);
|
||||
int32_t strcmp(const char *s1_arg, const char *s2_arg);
|
||||
int32_t strncmp(const char *s1_arg, const char *s2_arg, size_t n_arg);
|
||||
char *strncpy_s(char *d_arg, size_t dmax, const char *s_arg, size_t slen_arg);
|
||||
|
Reference in New Issue
Block a user