Subversion Repositories Kolibri OS

Rev

Rev 1964 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1964 Rev 3031
Line 234... Line 234...
234
#define noinline
234
#define noinline
235
#endif
235
#endif
Line 236... Line 236...
236
 
236
 
237
/*
237
/*
238
 * Rather then using noinline to prevent stack consumption, use
238
 * Rather then using noinline to prevent stack consumption, use
239
 * noinline_for_stack instead.  For documentaiton reasons.
239
 * noinline_for_stack instead.  For documentation reasons.
240
 */
240
 */
Line 241... Line 241...
241
#define noinline_for_stack noinline
241
#define noinline_for_stack noinline
242
 
242
 
Line 276... Line 276...
276
/* Simple shorthand for a section definition */
276
/* Simple shorthand for a section definition */
277
#ifndef __section
277
#ifndef __section
278
# define __section(S) __attribute__ ((__section__(#S)))
278
# define __section(S) __attribute__ ((__section__(#S)))
279
#endif
279
#endif
Line -... Line 280...
-
 
280
 
-
 
281
#ifndef __visible
-
 
282
#define __visible
-
 
283
#endif
280
 
284
 
281
/* Are two types/vars the same type (ignoring qualifiers)? */
285
/* Are two types/vars the same type (ignoring qualifiers)? */
282
#ifndef __same_type
286
#ifndef __same_type
283
# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
287
# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
Line 291... Line 295...
291
# define __compiletime_warning(message)
295
# define __compiletime_warning(message)
292
#endif
296
#endif
293
#ifndef __compiletime_error
297
#ifndef __compiletime_error
294
# define __compiletime_error(message)
298
# define __compiletime_error(message)
295
#endif
299
#endif
-
 
300
#ifndef __linktime_error
-
 
301
# define __linktime_error(message)
296
 
302
#endif
297
/*
303
/*
298
 * Prevent the compiler from merging or refetching accesses.  The compiler
304
 * Prevent the compiler from merging or refetching accesses.  The compiler
299
 * is also forbidden from reordering successive instances of ACCESS_ONCE(),
305
 * is also forbidden from reordering successive instances of ACCESS_ONCE(),
300
 * but only when the compiler is aware of some particular ordering.  One way
306
 * but only when the compiler is aware of some particular ordering.  One way
301
 * to make the compiler aware of ordering is to put the two invocations of
307
 * to make the compiler aware of ordering is to put the two invocations of