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

Unified Diff: src/trusted/cpu_features/arch/x86/cpu_x86_test.c

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/x86/cpu_x86.c ('k') | src/trusted/cpu_features/arch/x86/cpu_xgetbv.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/cpu_features/arch/x86/cpu_x86_test.c
diff --git a/src/trusted/validator/x86/nacl_cpuid_test.c b/src/trusted/cpu_features/arch/x86/cpu_x86_test.c
similarity index 88%
rename from src/trusted/validator/x86/nacl_cpuid_test.c
rename to src/trusted/cpu_features/arch/x86/cpu_x86_test.c
index a676e482c5d6bee1e58b9fe6887ea3baa8b8344d..c444a2c6f355a76801f52a05ef3443c298db8138 100644
--- a/src/trusted/validator/x86/nacl_cpuid_test.c
+++ b/src/trusted/cpu_features/arch/x86/cpu_x86_test.c
@@ -9,14 +9,14 @@
#endif
/*
- * nacl_cpuid_test.c
- * test main and subroutines for nacl_cpuid
+ * cpu_x86_test.c
+ * test main and subroutines for cpu_x86
*/
#include "native_client/src/include/portability.h"
#include <stdio.h>
-#include "native_client/src/trusted/validator/x86/nacl_cpuid.h"
+#include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h"
-int main(int argc, char *argv[]) {
+int main(void) {
NaClCPUFeaturesX86 fv;
NaClCPUData cpu_data;
int feature_id;
« no previous file with comments | « src/trusted/cpu_features/arch/x86/cpu_x86.c ('k') | src/trusted/cpu_features/arch/x86/cpu_xgetbv.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698