Fixed a bug that caused physical memory allocation to be one-time use
[tpg/acess2.git] / Modules / UDI / include / udi_arch.h
1 /*
2  * Acess2 UDI Support
3  * - Architecture Dependent Definitions
4  */
5 #ifndef _UDI_ARCH_H_
6 #define _UDI_ARCH_H_
7
8 //#if ARCH == x86
9 typedef char    udi_sbit8_t;    /* signed 8-bit: -2^7..2^7-1 */
10 typedef short   udi_sbit16_t;   /* signed 16-bit: -2^15..2^15-1 */
11 typedef long    udi_sbit32_t;   /* signed 32-bit: -2^31..2^31-1 */
12 typedef unsigned char   udi_ubit8_t;    /* unsigned 8-bit: 0..2^8-1 */
13 typedef unsigned short  udi_ubit16_t;   /* unsigned 16-bit: 0..2^16-1 */
14 typedef unsigned long   udi_ubit32_t;   /* unsigned 32-bit: 0..2^32-1 */
15 typedef udi_ubit8_t     udi_boolean_t;  /* 0=False; 1..255=True */
16
17
18 typedef unsigned int    udi_size_t;     /* buffer size (equiv to size_t) */
19 typedef unsigned int    udi_index_t;    /* zero-based index type */
20
21 typedef void*   udi_channel_t;  /* UDI_NULL_CHANNEL */
22 typedef void*   udi_buf_path_t; /* UDI_NULL_BUF_PATH */
23 typedef void*   udi_origin_t;   /* UDI_NULL_ORIGIN */
24
25 typedef void*   udi_timestamp_t;
26 //#endif
27
28 #endif

UCC git Repository :: git.ucc.asn.au