OLD | NEW |
(Empty) | |
| 1 /* |
| 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 |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_ |
| 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_ |
| 9 |
| 10 |
| 11 typedef struct { |
| 12 /* Add a dummy field because a zero-sized structure causes skew between C and |
| 13 * C++. |
| 14 */ |
| 15 int bogus; |
| 16 } NaClCPUFeaturesMips; |
| 17 |
| 18 static INLINE void NaClGetCurrentCPUFeatures( |
| 19 NaClCPUFeaturesMips *cpu_features) { |
| 20 UNREFERENCED_PARAMETER(cpu_features); |
| 21 } |
| 22 |
| 23 static INLINE void NaClSetAllCPUFeatures(NaClCPUFeaturesMips *cpu_features) { |
| 24 UNREFERENCED_PARAMETER(cpu_features); |
| 25 } |
| 26 |
| 27 static INLINE void NaClClearCPUFeatures(NaClCPUFeaturesMips *cpu_features) { |
| 28 UNREFERENCED_PARAMETER(cpu_features); |
| 29 } |
| 30 |
| 31 static INLINE int NaClFixCPUFeatures(NaClCPUFeaturesMips *cpu_features) { |
| 32 UNREFERENCED_PARAMETER(cpu_features); |
| 33 return 1; |
| 34 } |
| 35 |
| 36 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_CPUID_MIPS_H_ |
OLD | NEW |