feature (kernel): Defined 'position_T'

This commit is contained in:
antifallobst 2023-02-22 13:21:31 +01:00
parent 526ad615d8
commit c11d4760ff
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@
#define CEIL_TO(a, b) (a % b ? a + b - (a % b) : a)
#define FLOOR_TO(a, b) (a - (a % b))
typedef struct {
uint64_t x;
uint64_t y;
} position_T;
uint64_t pow(uint64_t base, uint64_t exp);
uint64_t abs(int64_t n);