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

Unified Diff: src/trusted/cpu_features/arch/x86/cpu_x86.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.h ('k') | src/trusted/cpu_features/arch/x86/cpu_x86_test.c » ('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.c
diff --git a/src/trusted/validator/x86/nacl_cpuid.c b/src/trusted/cpu_features/arch/x86/cpu_x86.c
similarity index 99%
rename from src/trusted/validator/x86/nacl_cpuid.c
rename to src/trusted/cpu_features/arch/x86/cpu_x86.c
index bcb83ffc9d2c427121d89e4b083353b761f92779..023a2158272cf3cb16c71f68615986febe13cba2 100644
--- a/src/trusted/validator/x86/nacl_cpuid.c
+++ b/src/trusted/cpu_features/arch/x86/cpu_x86.c
@@ -4,10 +4,10 @@
* found in the LICENSE file.
*/
-#include "native_client/src/trusted/validator/x86/nacl_cpuid.h"
+#include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h"
/*
- * nacl_cpuid.c
+ * cpu_x86.c
* Retrieve and decode CPU model specific feature mask.
*/
#if NACL_WINDOWS
« no previous file with comments | « src/trusted/cpu_features/arch/x86/cpu_x86.h ('k') | src/trusted/cpu_features/arch/x86/cpu_x86_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698