Added frequency counter to AARCH64.
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
void CPU::RDTSCP(TSC* tsc)
|
||||
{
|
||||
}
|
||||
|
||||
void CPU::GetManufacturer(Char_8* input)
|
||||
{
|
||||
}
|
||||
|
7
src/system/CPU_GCC_AARCH64.s
Normal file
7
src/system/CPU_GCC_AARCH64.s
Normal file
@@ -0,0 +1,7 @@
|
||||
.global _ZN3ehs3CPU6RDTSCPEPNS_3TSCE
|
||||
|
||||
.section .text
|
||||
_ZN3ehs3CPU6RDTSCPEPNS_3TSCE:
|
||||
MRS X1, CNTVCT_EL0
|
||||
STR X1, [X0, #4]
|
||||
RET
|
Reference in New Issue
Block a user