kernel: add function to calculate delta between two cycle timestamps

This commit is contained in:
2023-04-28 21:04:50 +01:00
parent 72d8facd47
commit 6b1b4a2416
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
#include <stdint.h>
#define CYCLES_MAX UINT64_MAX
typedef uintptr_t phys_addr_t;
typedef uint64_t cycles_t;