First commit for ICMP capabilities, added CPU::GetCacheLineSize(), and removed BaseObj from containers.
This commit is contained in:
@@ -7,6 +7,7 @@ global _ZN3ehs3CPU19GetExtFeatureBits_1Ev
|
||||
global _ZN3ehs3CPU19GetExtFeatureBits_2Ev
|
||||
global _ZN3ehs3CPU19GetExtFeatureBits_3Ev
|
||||
global _ZN3ehs3CPU8GetBrandEPc
|
||||
global _ZN3ehs3CPU16GetCacheLineSizeEv
|
||||
|
||||
section .text
|
||||
_ZN3ehs3CPU6RDTSCPEPNS_3TSCE:
|
||||
@@ -129,4 +130,17 @@ section .text
|
||||
|
||||
POP RBX
|
||||
|
||||
RET
|
||||
|
||||
_ZN3ehs3CPU16GetCacheLineSizeEv:
|
||||
PUSH RBX
|
||||
|
||||
MOV EAX, 0x80000006
|
||||
CPUID
|
||||
|
||||
XOR EAX, EAX
|
||||
MOV AL, CL
|
||||
|
||||
POP RBX
|
||||
|
||||
RET
|
Reference in New Issue
Block a user