17 #ifdef POK_NEEDS_PORTS_QUEUEING
29 extern pok_port_t pok_ports[POK_CONFIG_NB_PORTS];
30 extern pok_queue_t pok_queue;
43 if (
id > POK_CONFIG_NB_PORTS)
58 if (! pok_own_port (POK_SCHED_CURRENT_PARTITION,
id))
63 if (pok_ports[
id].ready !=
TRUE)
68 if (len > pok_ports[
id].size)
78 if (pok_ports[
id].partition != POK_SCHED_CURRENT_PARTITION)
97 timeout = timeout + POK_GETTICK();
100 while (len > pok_port_available_size (
id))
118 pok_port_write (
id, data, len);