unittests: Adds tests for RDTSCP

This commit is contained in:
Ryan Houdek 2021-12-15 01:19:14 -08:00
parent fd59fb1a7a
commit c29e563836
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
%ifdef CONFIG
{
"Mode": "32BIT"
}
%endif
; We can't really check the results of this
rdtscp
hlt

View File

@ -0,0 +1,10 @@
%ifdef CONFIG
{
}
%endif
; We can't really check the results of this
; Just ensure we execute it
rdtscp
hlt