|
|
1.1 ! root 1: #ifndef __COMMON___PARITH_H__ ! 2: #define __COMMON___PARITH_H__ ! 3: ! 4: /* ! 5: * This internal header file is intended as the sole point of definition for ! 6: * the internal data type "__ptr_arith_t". ! 7: * ! 8: * This type is used to represent the smallest unsigned integral type to which ! 9: * a C-language pointer can be safely converted without loss of information ! 10: * and vice versa. This type is not guaranteed to be able to safely hold the ! 11: * values of pointer types with implementation-specific decoration such as ! 12: * a "far" attribute, or such implementation-specific entities as physical ! 13: * addresses. ! 14: */ ! 15: ! 16: #include <common/feature.h> ! 17: ! 18: #if __COHERENT__ ! 19: ! 20: typedef unsigned int __ptr_arith_t; ! 21: ! 22: #else ! 23: ! 24: # error The integral type equivalent to a pointer is not known. ! 25: ! 26: #endif ! 27: ! 28: #endif /* ! defined (__COMMON___PARITH_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.