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

Side by Side Diff: pnacl/support/nacl_mips_defs.h

Issue 11039026: [MIPS] Untrusted versions of setjmp and longjmp. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase. 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
« no previous file with comments | « no previous file | pnacl/support/setjmp_mips32.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef __NACL_ARM_DEFS_H__ 7 #ifndef __NACL_MIPS_DEFS_H__
8 #define __NACL_ARM_DEFS_H__ 8 #define __NACL_MIPS_DEFS_H__
9 9
10 /* These values are copied from: 10 /*
11 * Values NACL_BLOCK_SHIFT and NACL_BLOCK_SIZE are copied from:
11 * native_client/src/trusted/service_runtime/nacl_config.h 12 * native_client/src/trusted/service_runtime/nacl_config.h
12 */ 13 */
13 14
14 #define NACL_BLOCK_SHIFT 4 15 #define NACL_BLOCK_SHIFT 4
15 #define NACL_DATA_FLOW_MASK 0xC0000000 16 #define NACL_BLOCK_SIZE 16
16 #define NACL_CONTROL_FLOW_MASK 0xC000000F 17 #define JUMP_MASK $t6
18 #define STORE_MASK $t7
17 19
18 #endif 20 #endif
OLDNEW
« no previous file with comments | « no previous file | pnacl/support/setjmp_mips32.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698