Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix a typo and remove outdated comment #468

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ RV_EXCEPTION_LIST
return false; \
}

/* get current time in microsecnds and update csr_time register */
/* get current time in microseconds and update csr_time register */
static inline void update_time(riscv_t *rv)
{
struct timeval tv;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void rv_clock_gettime(struct timespec *tp)
int32_t tv_sec, tv_nsec;
get_time_info(&tv_sec, &tv_nsec);
tp->tv_sec = tv_sec;
tp->tv_nsec = tv_nsec; /* Transfer to microseconds */
tp->tv_nsec = tv_nsec;
}

char *sanitize_path(const char *input)
Expand Down