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

Unified Diff: src/trusted/cpu_features/arch/mips/cpu_mips.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 | « src/trusted/cpu_features/arch/arm/cpu_arm_features.h ('k') | src/trusted/cpu_features/arch/mips/cpu_mips.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/cpu_features/arch/mips/cpu_mips.h
diff --git a/src/trusted/validator_mips/cpuid_mips.h b/src/trusted/cpu_features/arch/mips/cpu_mips.h
similarity index 85%
rename from src/trusted/validator_mips/cpuid_mips.h
rename to src/trusted/cpu_features/arch/mips/cpu_mips.h
index 3bf7273436b2d16ef472b2961859e84df504de02..6098a9595f5b87ac2b2aefcc45779012874ae941 100644
--- a/src/trusted/validator_mips/cpuid_mips.h
+++ b/src/trusted/cpu_features/arch/mips/cpu_mips.h
@@ -4,8 +4,8 @@
* found in the LICENSE file.
*/
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_
+#ifndef NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_MIPS_CPU_MIPS_H_
+#define NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_MIPS_CPU_MIPS_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 MIPS CPUs. */
typedef enum {
#define NACL_MIPS_CPU_FEATURE(name) NACL_CONCAT(NaClCPUFeatureMips_, name),
-#include "native_client/src/trusted/validator_mips/cpuid_mips_features.h"
+#include "native_client/src/trusted/cpu_features/arch/mips/cpu_mips_features.h"
#undef NACL_MIPS_CPU_FEATURE
/* Leave the following as the last entry. */
NaClCPUFeatureMips_Max
@@ -59,4 +59,4 @@ void NaClClearCPUFeaturesMips(NaClCPUFeaturesMips *features);
EXTERN_C_END
-#endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_
+#endif // NATIVE_CLIENT_SRC_TRUSTED_CPU_FEATURES_ARCH_MIPS_CPU_MIPS_H_
« no previous file with comments | « src/trusted/cpu_features/arch/arm/cpu_arm_features.h ('k') | src/trusted/cpu_features/arch/mips/cpu_mips.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698