OLD | NEW |
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 |
OLD | NEW |