syscall: do not use cr2 as a scratch register

This commit is contained in:
Matheus
2026-04-02 01:45:17 -03:00
parent e443319433
commit 5b164793cf
2 changed files with 5 additions and 7 deletions
+2
View File
@@ -28,6 +28,8 @@ typedef struct cpu_t {
long hardware_id; // expected to be here by other code
long internal_id; // expected to be here by other code
uint64_t scratch; // expected to be here by other code
timekeeper_source_t *timekeeper_source;
timekeeper_source_info_t *timekeeper_source_info;
time_t timekeeper_source_base_ticks;