Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: src/trusted/cpu_features/arch/arm/cpu_arm.h

Issue 11864002: Move CPU features into its own static library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Address bsy's comments by not building x86 target when host isn't x86. This is how things are curre… Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site_scons/site_tools/library_deps.py ('k') | src/trusted/cpu_features/arch/arm/cpu_arm.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/cpu_features/arch/arm/cpu_arm.h
diff --git a/src/trusted/validator_arm/cpuid_arm.h b/src/trusted/cpu_features/arch/arm/cpu_arm.h
similarity index 86%
rename from src/trusted/validator_arm/cpuid_arm.h
rename to src/trusted/cpu_features/arch/arm/cpu_arm.h
index c007914cc802deb85b686f0fa71c4f8971f462ca..c79e64eeafb7c5a8cb247556cb7b075086a10698 100644
--- a/src/trusted/validator_arm/cpuid_arm.h
+++ b/src/trusted/cpu_features/arch/arm/cpu_arm.h
@@ -4,8 +4,8 @@
* found in the LICENSE file.
*/
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_CPUID_ARM_H
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_CPUID_ARM_H
+#ifndef NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_ARM_CPU_ARM_H_
+#define NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_ARM_CPU_ARM_H_
#include "native_client/src/include/nacl_compiler_annotations.h"
#include "native_client/src/include/nacl_macros.h"
@@ -18,7 +18,7 @@ EXTERN_C_BEGIN
/* List of features supported by ARM CPUs. */
typedef enum {
#define NACL_ARM_CPU_FEATURE(name) NACL_CONCAT(NaClCPUFeatureArm_, name),
-#include "native_client/src/trusted/validator_arm/cpuid_arm_features.h"
+#include "native_client/src/trusted/cpu_features/arch/arm/cpu_arm_features.h"
#undef NACL_ARM_CPU_FEATURE
/* Leave the following as the last entry. */
NaClCPUFeatureArm_Max
@@ -61,4 +61,4 @@ void NaClCopyCPUFeaturesArm(NaClCPUFeaturesArm *target,
EXTERN_C_END
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_CPUID_ARM_H */
+#endif /* NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_ARM_CPU_ARM_H_ */
« no previous file with comments | « site_scons/site_tools/library_deps.py ('k') | src/trusted/cpu_features/arch/arm/cpu_arm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698