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 /* | 7 /* |
8 * This file contains common parts of x86-32 and x86-64 internals (inline | 8 * This file contains common parts of x86-32 and x86-64 internals (inline |
9 * functions and defines). | 9 * functions and defines). |
10 */ | 10 */ |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 *instruction_info_collected |= RESTRICTED_RBP_UNPROCESSED; | 556 *instruction_info_collected |= RESTRICTED_RBP_UNPROCESSED; |
557 } | 557 } |
558 /* Take 2 bits of operand type from operand_states as *restricted_register, | 558 /* Take 2 bits of operand type from operand_states as *restricted_register, |
559 * make sure operand_states denotes a register (12th bit == 0). */ | 559 * make sure operand_states denotes a register (12th bit == 0). */ |
560 } else if ((operand_states & 0x7000) == (OperandSandboxRestricted << 13)) { | 560 } else if ((operand_states & 0x7000) == (OperandSandboxRestricted << 13)) { |
561 *restricted_register = (operand_states & 0x0f00) >> 8; | 561 *restricted_register = (operand_states & 0x0f00) >> 8; |
562 } | 562 } |
563 } | 563 } |
564 | 564 |
565 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_INTERNAL_H_ */ | 565 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_INTERNAL_H_ */ |
OLD | NEW |