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

Side by Side Diff: src/include/portability.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/include/nacl_base.h ('k') | src/trusted/platform_qualify/arch/mips/nacl_dep_qualify_arch.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 /* 7 /*
8 * This file should be at the top of the #include group, followed by 8 * This file should be at the top of the #include group, followed by
9 * standard system #include files, then by native client specific 9 * standard system #include files, then by native client specific
10 * includes. 10 * includes.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 * http://msdn.microsoft.com/en-us/library/b0084kay.aspx 74 * http://msdn.microsoft.com/en-us/library/b0084kay.aspx
75 * http://www.agner.org/optimize/calling_conventions.pdf 75 * http://www.agner.org/optimize/calling_conventions.pdf
76 * r with gcc, run: "echo | gcc -E -dM -" 76 * r with gcc, run: "echo | gcc -E -dM -"
77 */ 77 */
78 #if defined(_M_X64) || defined(__x86_64__) 78 #if defined(_M_X64) || defined(__x86_64__)
79 #define NACL_HOST_WORDSIZE 64 79 #define NACL_HOST_WORDSIZE 64
80 #elif defined(_M_IX86) || defined(__i386__) 80 #elif defined(_M_IX86) || defined(__i386__)
81 #define NACL_HOST_WORDSIZE 32 81 #define NACL_HOST_WORDSIZE 32
82 #elif defined(__ARMEL__) 82 #elif defined(__ARMEL__)
83 #define NACL_HOST_WORDSIZE 32 83 #define NACL_HOST_WORDSIZE 32
84 #elif defined(__mips__)
85 #define NACL_HOST_WORDSIZE 32
84 #elif defined(__pnacl__) 86 #elif defined(__pnacl__)
85 #define NACL_HOST_WORDSIZE 32 87 #define NACL_HOST_WORDSIZE 32
86 #else 88 #else
87 #error Unrecognized host architecture 89 #error Unrecognized host architecture
88 #endif 90 #endif
89 91
90 #ifndef SIZE_T_MAX 92 #ifndef SIZE_T_MAX
91 # define SIZE_T_MAX ((size_t) -1) 93 # define SIZE_T_MAX ((size_t) -1)
92 #endif 94 #endif
93 95
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 * macros for run-time error detectors (such as Valgrind/Memcheck). 280 * macros for run-time error detectors (such as Valgrind/Memcheck).
279 */ 281 */
280 #if defined(_DEBUG) && NACL_LINUX 282 #if defined(_DEBUG) && NACL_LINUX
281 #include "native_client/src/third_party/valgrind/memcheck.h" 283 #include "native_client/src/third_party/valgrind/memcheck.h"
282 #define NACL_MAKE_MEM_UNDEFINED(a, b) (void) VALGRIND_MAKE_MEM_UNDEFINED(a, b) 284 #define NACL_MAKE_MEM_UNDEFINED(a, b) (void) VALGRIND_MAKE_MEM_UNDEFINED(a, b)
283 #else 285 #else
284 #define NACL_MAKE_MEM_UNDEFINED(a, b) 286 #define NACL_MAKE_MEM_UNDEFINED(a, b)
285 #endif 287 #endif
286 288
287 #endif /* NATIVE_CLIENT_SRC_INCLUDE_PORTABILITY_H_ */ 289 #endif /* NATIVE_CLIENT_SRC_INCLUDE_PORTABILITY_H_ */
OLDNEW
« no previous file with comments | « src/include/nacl_base.h ('k') | src/trusted/platform_qualify/arch/mips/nacl_dep_qualify_arch.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698