Chromium Code Reviews| 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 #include "native_client/src/trusted/validator_arm/ncvalidate.h" | 7 #include "native_client/src/trusted/validator_arm/ncvalidate.h" |
| 8 | 8 |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 113 const NaClCPUFeaturesArm *cpu_features) { | 113 const NaClCPUFeaturesArm *cpu_features) { |
| 114 UNREFERENCED_PARAMETER(sb_kind); | 114 UNREFERENCED_PARAMETER(sb_kind); |
| 115 UNREFERENCED_PARAMETER(guest_addr); | 115 UNREFERENCED_PARAMETER(guest_addr); |
| 116 UNREFERENCED_PARAMETER(data_old); | 116 UNREFERENCED_PARAMETER(data_old); |
| 117 UNREFERENCED_PARAMETER(data_new); | 117 UNREFERENCED_PARAMETER(data_new); |
| 118 UNREFERENCED_PARAMETER(size); | 118 UNREFERENCED_PARAMETER(size); |
| 119 UNREFERENCED_PARAMETER(cpu_features); | 119 UNREFERENCED_PARAMETER(cpu_features); |
| 120 return NaClValidationFailedNotImplemented; | 120 return NaClValidationFailedNotImplemented; |
| 121 } | 121 } |
| 122 | 122 |
| 123 NaClValidationStatus NACL_SUBARCH_NAME(ApplyDfaValidator, arm, 32) ( | |
|
Nick Bray
2012/04/19 23:11:08
Don't add this stub. Just ifdef out references to
pasko-google - do not use
2012/04/20 14:30:38
Mark's validator exists for 2 platforms out of 3,
| |
| 124 enum NaClSBKind sb_kind, | |
| 125 uintptr_t guest_addr, | |
| 126 uint8_t *data, | |
| 127 size_t size, | |
| 128 int stubout_mode, | |
| 129 int readonly_text, | |
| 130 const NaClCPUFeaturesArm *cpu_features, | |
| 131 struct NaClValidationCache *cache) { | |
| 132 UNREFERENCED_PARAMETER(sb_kind); | |
| 133 UNREFERENCED_PARAMETER(guest_addr); | |
| 134 UNREFERENCED_PARAMETER(data); | |
| 135 UNREFERENCED_PARAMETER(size); | |
| 136 UNREFERENCED_PARAMETER(cpu_features); | |
| 137 UNREFERENCED_PARAMETER(stubout_mode); | |
| 138 UNREFERENCED_PARAMETER(readonly_text); | |
| 139 UNREFERENCED_PARAMETER(cache); | |
| 140 return NaClValidationFailedNotImplemented; | |
| 141 } | |
| 142 | |
| 123 EXTERN_C_END | 143 EXTERN_C_END |
| OLD | NEW |