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

Unified Diff: src/trusted/service_runtime/sel_qualify.c

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 3 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/service_runtime/sel_qualify.c
diff --git a/src/trusted/service_runtime/sel_qualify.c b/src/trusted/service_runtime/sel_qualify.c
index 2429a93763d09ae7c04797284503d8989fe4e6a0..49e61a919df6c562f963a197680b48b0147a1e88 100644
--- a/src/trusted/service_runtime/sel_qualify.c
+++ b/src/trusted/service_runtime/sel_qualify.c
@@ -11,6 +11,8 @@
#include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h"
#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
#include "native_client/src/trusted/platform_qualify/arch/arm/nacl_arm_qualify.h"
+#elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
+#include "native_client/src/trusted/platform_qualify/arch/mips/nacl_mips_qualify.h"
#endif
NaClErrorCode NaClRunSelQualificationTests() {
@@ -28,7 +30,8 @@ NaClErrorCode NaClRunSelQualificationTests() {
}
#endif
-#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
+#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm || \
+ NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
if (!NaClQualifyFpu()) {
return LOAD_UNSUPPORTED_CPU;
}

Powered by Google App Engine
This is Rietveld 408576698