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

Side by Side Diff: src/trusted/validator/ncvalidate.h

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase (Saturday morning). Created 8 years, 3 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 | « src/trusted/validator/cpufeatures.h ('k') | src/trusted/validator/validator_init.c » ('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 NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__ 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__
9 9
10 /* Defines the API exposed by the Native Client validators. */ 10 /* Defines the API exposed by the Native Client validators. */
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 /* Make a choice of validating functions. */ 129 /* Make a choice of validating functions. */
130 const struct NaClValidatorInterface *NaClCreateValidator(); 130 const struct NaClValidatorInterface *NaClCreateValidator();
131 131
132 /* Known Validator API initializers. Private. Do not use outside validator. */ 132 /* Known Validator API initializers. Private. Do not use outside validator. */
133 const struct NaClValidatorInterface *NaClValidatorCreate_x86_64(); 133 const struct NaClValidatorInterface *NaClValidatorCreate_x86_64();
134 const struct NaClValidatorInterface *NaClValidatorCreate_x86_32(); 134 const struct NaClValidatorInterface *NaClValidatorCreate_x86_32();
135 const struct NaClValidatorInterface *NaClDfaValidatorCreate_x86_32(); 135 const struct NaClValidatorInterface *NaClDfaValidatorCreate_x86_32();
136 const struct NaClValidatorInterface *NaClDfaValidatorCreate_x86_64(); 136 const struct NaClValidatorInterface *NaClDfaValidatorCreate_x86_64();
137 const struct NaClValidatorInterface *NaClValidatorCreateArm(); 137 const struct NaClValidatorInterface *NaClValidatorCreateArm();
138 const struct NaClValidatorInterface *NaClValidatorCreateMips();
138 139
139 /* Applies the validator, as used in a command-line tool to report issues. 140 /* Applies the validator, as used in a command-line tool to report issues.
140 * Note: This is intentionally separated from ApplyValidator, since it need 141 * Note: This is intentionally separated from ApplyValidator, since it need
141 * not be performance critical. 142 * not be performance critical.
142 * 143 *
143 * Parameters are: 144 * Parameters are:
144 * guest_addr - The virtual pc to assume with the beginning address of the 145 * guest_addr - The virtual pc to assume with the beginning address of the
145 * code segment. Typically, this is the corresponding addresss that 146 * code segment. Typically, this is the corresponding addresss that
146 * will be used by objdump. 147 * will be used by objdump.
147 * data - The contents of the code segment to be validated. 148 * data - The contents of the code segment to be validated.
148 * size - The size of the code segment to be validated. 149 * size - The size of the code segment to be validated.
149 * cpu_features - The CPU features to support while validating. 150 * cpu_features - The CPU features to support while validating.
150 */ 151 */
151 NaClValidationStatus NACL_SUBARCH_NAME(ApplyValidatorVerbosely, 152 NaClValidationStatus NACL_SUBARCH_NAME(ApplyValidatorVerbosely,
152 NACL_TARGET_ARCH, 153 NACL_TARGET_ARCH,
153 NACL_TARGET_SUBARCH)( 154 NACL_TARGET_SUBARCH)(
154 uintptr_t guest_addr, 155 uintptr_t guest_addr,
155 uint8_t *data, 156 uint8_t *data,
156 size_t size, 157 size_t size,
157 const NaClCPUFeatures *cpu_features); 158 const NaClCPUFeatures *cpu_features);
158 159
159 EXTERN_C_END 160 EXTERN_C_END
160 161
161 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__ */ 162 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVALIDATE_H__ */
OLDNEW
« no previous file with comments | « src/trusted/validator/cpufeatures.h ('k') | src/trusted/validator/validator_init.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698