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

Unified Diff: src/trusted/validator/ncvalidate.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
Index: src/trusted/validator/ncvalidate.h
diff --git a/src/trusted/validator/ncvalidate.h b/src/trusted/validator/ncvalidate.h
index 040232612afe520555c65a101152ef16677c9029..164afd4313b2e01fc35ef47408476bb68863cee8 100644
--- a/src/trusted/validator/ncvalidate.h
+++ b/src/trusted/validator/ncvalidate.h
@@ -11,19 +11,13 @@
#include "native_client/src/include/nacl_base.h"
#include "native_client/src/include/portability.h"
+#include "native_client/src/trusted/cpu_features/cpu_features.h"
EXTERN_C_BEGIN
struct NaClValidationCache;
-/*
- * Forward-declared (but never defined) generic CPU features.
- * Each architecture needs to cast from this generic type.
- */
-struct NaClCPUFeaturesAbstract;
-typedef struct NaClCPUFeaturesAbstract NaClCPUFeatures;
-
/* Defines possible validation status values. */
typedef enum NaClValidationStatus {
/* The call to the validator succeeded. */
« no previous file with comments | « src/trusted/service_runtime/arch/x86_64/nacl_switch_to_app_64.c ('k') | src/trusted/validator/validation_cache_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698