fibb_tsc: poprawka timestamp(), zabezpieczenie EBX/RBX

This commit is contained in:
2026-05-20 15:51:26 +02:00
parent 9a28acb0c9
commit c1afe154bb
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -6,6 +6,8 @@
.text
timestamp:
push %rbx
xor %rax, %rax
cpuid
rdtsc
@@ -13,4 +15,5 @@ rdtsc
shl $32, %rdx
or %rdx, %rax
pop %rbx
ret