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

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

Issue 10978045: [MIPS] Use break instruction as NACL_HALT for MIPS. (Closed)
Patch Set: 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 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_CONFIG_H_ */ 282 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_NACL_CONFIG_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698