Skip to content

Commit

Permalink
Rename timer to utils to avoid confusions
Browse files Browse the repository at this point in the history
  • Loading branch information
chiangkd committed Jul 18, 2024
1 parent 799e4fc commit c88e165
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ all: $(BIN) minimal.dtb
OBJS := \
riscv.o \
ram.o \
timer.o \
utils.o \
plic.o \
uart.o \
main.o \
Expand Down
2 changes: 1 addition & 1 deletion riscv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdbool.h>
#include <stdint.h>

#include "timer.h"
#include "utils.h"

/* ERR_EXCEPTION indicates that the instruction has raised one of the
* exceptions defined in the specification. If this flag is set, the
Expand Down
2 changes: 1 addition & 1 deletion timer.c → utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <time.h>

#include "riscv.h"
#include "utils.h"

#if defined(__APPLE__)
#define HAVE_MACH_TIMER
Expand Down
File renamed without changes.

0 comments on commit c88e165

Please sign in to comment.