23#ifndef __WF_LIBWS_UTIL_H__
24#define __WF_LIBWS_UTIL_H__
34 return ((((uint32_t) src) >> 12) & 0xFFFF0) + ((uint16_t) ((uint32_t) src));
44void ws_portcpy(uint16_t port,
const void __far* src, uint16_t count);
58void ws_busywait(uint16_t us);
__attribute__((no_assume_ds_data, no_assume_ss_data)) void ws_busywait(uint16_t us)
Busy wait.
static uint32_t ws_ptr_to_linear(const void __far *src)
void ws_portcpy(uint16_t port, const void __far *src, uint16_t count)
Copy memory data to I/O ports, in order.