| 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/service_runtime/sel_qualify.h" | 7 #include "native_client/src/trusted/service_runtime/sel_qualify.h" |
| 8 | 8 #include "native_client/src/include/build_config.h" |
| 9 #include "native_client/src/trusted/platform_qualify/nacl_cpuwhitelist.h" | 9 #include "native_client/src/trusted/platform_qualify/nacl_cpuwhitelist.h" |
| 10 #include "native_client/src/trusted/platform_qualify/nacl_dep_qualify.h" | 10 #include "native_client/src/trusted/platform_qualify/nacl_dep_qualify.h" |
| 11 #include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h" | 11 #include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h" |
| 12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm | 12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm |
| 13 #include "native_client/src/trusted/platform_qualify/arch/arm/nacl_arm_qualify.h
" | 13 #include "native_client/src/trusted/platform_qualify/arch/arm/nacl_arm_qualify.h
" |
| 14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips | 14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips |
| 15 #include "native_client/src/trusted/platform_qualify/arch/mips/nacl_mips_qualify
.h" | 15 #include "native_client/src/trusted/platform_qualify/arch/mips/nacl_mips_qualify
.h" |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 NaClErrorCode NaClRunSelQualificationTests(void) { | 18 NaClErrorCode NaClRunSelQualificationTests(void) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips | 44 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips |
| 45 if (!NaClQualifyFpu()) { | 45 if (!NaClQualifyFpu()) { |
| 46 return LOAD_UNSUPPORTED_CPU; | 46 return LOAD_UNSUPPORTED_CPU; |
| 47 } | 47 } |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 return LOAD_OK; | 50 return LOAD_OK; |
| 51 } | 51 } |
| OLD | NEW |