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

Unified Diff: src/trusted/service_runtime/nacl_signal_common.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: Rebase (Saturday morning). 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
« no previous file with comments | « src/trusted/service_runtime/nacl_signal.h ('k') | src/trusted/service_runtime/nacl_syscall_handlers_gen.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/nacl_signal_common.c
diff --git a/src/trusted/service_runtime/nacl_signal_common.c b/src/trusted/service_runtime/nacl_signal_common.c
index 31af46aeea85f17e020e3dd728930bf1ac3dafd6..68f713f5a96f715e9d86cf0cdd84db61ad00713e 100644
--- a/src/trusted/service_runtime/nacl_signal_common.c
+++ b/src/trusted/service_runtime/nacl_signal_common.c
@@ -77,7 +77,8 @@ void NaClSignalContextGetCurrentThread(const struct NaClSignalContext *sigCtx,
*is_untrusted = (NaClGetGlobalCs() != sigCtx->cs);
*result_thread = nacl_thread[sigCtx->gs >> 3];
#elif (NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 && NACL_BUILD_SUBARCH == 64) || \
- NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
+ NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm || \
+ NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
uint32_t current_thread_index = NaClTlsGetIdx();
if (NACL_TLS_INDEX_INVALID == current_thread_index) {
*is_untrusted = 0;
« no previous file with comments | « src/trusted/service_runtime/nacl_signal.h ('k') | src/trusted/service_runtime/nacl_syscall_handlers_gen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698