OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009 The Native Client Authors. All rights reserved. | 2 * Copyright 2009 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* | 7 /* |
8 * This file switches to the architecture-specific header and | 8 * This file switches to the architecture-specific header and |
9 * otherwise has no content. There is no need for an inclusion guard, | 9 * otherwise has no content. There is no need for an inclusion guard, |
10 * but we include one to conform to the style rules. | 10 * but we include one to conform to the style rules. |
11 */ | 11 */ |
12 | 12 |
13 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ | 13 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ |
14 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ | 14 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ |
15 | 15 |
16 #include "native_client/src/include/nacl_base.h" | 16 #include "native_client/src/include/nacl_base.h" |
17 | 17 |
18 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 | 18 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 |
19 #include "native_client/src/trusted/service_runtime/arch/x86/sel_ldr_x86.h" | 19 #include "native_client/src/trusted/service_runtime/arch/x86/sel_ldr_x86.h" |
20 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm | 20 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm |
21 #include "native_client/src/trusted/service_runtime/arch/arm/sel_ldr_arm.h" | 21 #include "native_client/src/trusted/service_runtime/arch/arm/sel_ldr_arm.h" |
| 22 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips |
| 23 #include "native_client/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h" |
22 #else | 24 #else |
23 #error Unknown platform! | 25 #error Unknown platform! |
24 #endif | 26 #endif |
25 | 27 |
26 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ */ | 28 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_ARCH_SEL_LDR_ARCH_H_ */ |
OLD | NEW |