17 #ifdef POK_NEEDS_PORTS_VIRTUAL
27 extern uint8_t pok_ports_nb_destinations[POK_CONFIG_NB_PORTS];
29 extern uint8_t* pok_ports_destinations[POK_CONFIG_NB_PORTS];
30 extern uint8_t pok_ports_kind[POK_CONFIG_NB_PORTS];
36 if (
id >= POK_CONFIG_NB_PORTS)
41 if (! pok_own_port (POK_SCHED_CURRENT_PARTITION,
id))
46 if (pok_ports_kind[
id] != POK_PORT_KIND_VIRTUAL)
51 if (n > pok_ports_nb_destinations[
id])
56 val = (
uint32_t) pok_ports_destinations[
id][n];