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

Side by Side Diff: src/trusted/service_runtime/nacl_config.h

Issue 11016003: [MIPS] Use break instruction as NACL_HALT for MIPS. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Remove extra lines. Created 8 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Simple/secure ELF loader (NaCl SEL). 8 * NaCl Simple/secure ELF loader (NaCl SEL).
9 * 9 *
10 * NOTE: This header is ALSO included by assembler files and hence 10 * NOTE: This header is ALSO included by assembler files and hence
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 /* 16-byte bundles, 256MB code segment*/ 262 /* 16-byte bundles, 256MB code segment*/
263 # define NACL_CONTROL_FLOW_MASK 0x0FFFFFF0 263 # define NACL_CONTROL_FLOW_MASK 0x0FFFFFF0
264 # define NACL_DATA_FLOW_MASK 0x3FFFFFFF 264 # define NACL_DATA_FLOW_MASK 0x3FFFFFFF
265 # define NACL_USERRET_FIX (0x4) 265 # define NACL_USERRET_FIX (0x4)
266 # define NACL_SYSARGS_FIX (NACL_USERRET_FIX + 0x4) 266 # define NACL_SYSARGS_FIX (NACL_USERRET_FIX + 0x4)
267 # define NACL_SYSCALLRET_FIX (NACL_USERRET_FIX + 0x4) 267 # define NACL_SYSCALLRET_FIX (NACL_USERRET_FIX + 0x4)
268 # define NACL_STACK_ALIGN_MASK (0x7) 268 # define NACL_STACK_ALIGN_MASK (0x7)
269 # define NACL_STACK_GETS_ARG (0) 269 # define NACL_STACK_GETS_ARG (0)
270 # define NACL_STACK_PAD_BELOW_ALIGN (0) 270 # define NACL_STACK_PAD_BELOW_ALIGN (0)
271 # define NACL_STACK_RED_ZONE (0) 271 # define NACL_STACK_RED_ZONE (0)
272 # define NACL_HALT break
272 /* 16 byte bundles */ 273 /* 16 byte bundles */
273 274
274 #else /* NACL_ARCH(NACL_BUILD_ARCH) */ 275 #else /* NACL_ARCH(NACL_BUILD_ARCH) */
275 276
276 # error Unknown platform! 277 # error Unknown platform!
277 278
278 #endif /* NACL_ARCH(NACL_BUILD_ARCH) */ 279 #endif /* NACL_ARCH(NACL_BUILD_ARCH) */
279 280
280 /* 281 /*
281 * Android linker doesn't support __thread variables - for development purposes 282 * Android linker doesn't support __thread variables - for development purposes
282 * one could enable using unsafe pthread API for TLS, before real fix based on 283 * one could enable using unsafe pthread API for TLS, before real fix based on
283 * trusted R9-based TLS pool appears. 284 * trusted R9-based TLS pool appears.
284 * TODO(olonho): remove when issue 285 * TODO(olonho): remove when issue
285 * http://code.google.com/p/nativeclient/issues/detail?id=2933 286 * http://code.google.com/p/nativeclient/issues/detail?id=2933
286 * gets fixed. 287 * gets fixed.
287 */ 288 */
288 #define NACL_DANGEROUS_USE_PTHREAD_GETSPECIFIC_ON_ANDROID NACL_ANDROID 289 #define NACL_DANGEROUS_USE_PTHREAD_GETSPECIFIC_ON_ANDROID NACL_ANDROID
289 290
290 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_CONFIG_H_ */ 291 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_CONFIG_H_ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/mips/tramp_mips.S ('k') | src/trusted/validator_mips/gen/decode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698