type unsigned_long_long is mod 2 ** long_long'Size;
type size_t is mod 2 ** Standard'Address_Size;
+ subtype vx_freq_t is System.VxWorks.Ext.vx_freq_t;
+
-----------
-- Errno --
-----------
function taskDelay (ticks : int) return int;
pragma Import (C, taskDelay, "taskDelay");
- function sysClkRateGet return int;
+ function sysClkRateGet return vx_freq_t;
pragma Import (C, sysClkRateGet, "sysClkRateGet");
-- VxWorks 5.x specific functions
subtype int is Interfaces.C.int;
subtype unsigned is Interfaces.C.unsigned;
+ type vx_freq_t is new unsigned;
+ -- Equivalent of the C type _Vx_freq_t
+
type Interrupt_Handler is access procedure (parameter : System.Address);
pragma Convention (C, Interrupt_Handler);
subtype int is Interfaces.C.int;
subtype unsigned is Interfaces.C.unsigned;
+ type vx_freq_t is new unsigned;
+ -- Equivalent of the C type _Vx_freq_t
+
type Interrupt_Handler is access procedure (parameter : System.Address);
pragma Convention (C, Interrupt_Handler);
subtype int is Interfaces.C.int;
subtype unsigned is Interfaces.C.unsigned;
+ type vx_freq_t is new unsigned;
+ -- Equivalent of the C type _Vx_freq_t
+
type Interrupt_Handler is access procedure (parameter : System.Address);
pragma Convention (C, Interrupt_Handler);