1*4f1223e8SApple OSS Distributions #include <darwintest.h> 2*4f1223e8SApple OSS Distributions #include <sys/sysctl.h> 3*4f1223e8SApple OSS Distributions #include "apple_generic_timer.h" 4*4f1223e8SApple OSS Distributions #include "test_utils.h" 5*4f1223e8SApple OSS Distributions 6*4f1223e8SApple OSS Distributions T_GLOBAL_META( 7*4f1223e8SApple OSS Distributions T_META_NAMESPACE("xnu.arm"), 8*4f1223e8SApple OSS Distributions T_META_RADAR_COMPONENT_NAME("xnu"), 9*4f1223e8SApple OSS Distributions T_META_RADAR_COMPONENT_VERSION("arm"), 10*4f1223e8SApple OSS Distributions T_META_ENABLED(TARGET_CPU_ARM64), 11*4f1223e8SApple OSS Distributions T_META_OWNER("xi_han"), 12*4f1223e8SApple OSS Distributions T_META_RUN_CONCURRENTLY(true), 13*4f1223e8SApple OSS Distributions XNU_T_META_SOC_SPECIFIC 14*4f1223e8SApple OSS Distributions ); 15*4f1223e8SApple OSS Distributions 16*4f1223e8SApple OSS Distributions T_DECL(apple_generic_timer_legacy, 17*4f1223e8SApple OSS Distributions "Test that CNTFRQ_EL0 reads the correct frequency when built with old SDKs") 18*4f1223e8SApple OSS Distributions { 19*4f1223e8SApple OSS Distributions /* Always expect 24 MHz. Check Makefile for SDK version overrides. */ 20*4f1223e8SApple OSS Distributions agt_test_helper(false); 21*4f1223e8SApple OSS Distributions } 22