Added frequency counter to AARCH64.
Some checks failed
Build & Release / Linux-AMD64-Build (push) Has been cancelled
Build & Release / Linux-AARCH64-Build (push) Has been cancelled
Build & Release / Windows-AMD64-Build (push) Has been cancelled

This commit is contained in:
2025-05-17 17:37:12 -07:00
parent c19c6269aa
commit 61fb586f86
3 changed files with 9 additions and 6 deletions

View File

@@ -2,10 +2,6 @@
namespace ehs
{
void CPU::RDTSCP(TSC* tsc)
{
}
void CPU::GetManufacturer(Char_8* input)
{
}

View File

@@ -0,0 +1,7 @@
.global _ZN3ehs3CPU6RDTSCPEPNS_3TSCE
.section .text
_ZN3ehs3CPU6RDTSCPEPNS_3TSCE:
MRS X1, CNTVCT_EL0
STR X1, [X0, #4]
RET