Barrelfish
Functions
xeon_phi_domain.c File Reference

Client for interacting with the name service. More...

Functions

char * xeon_phi_domain_build_iface (const char *name, xphi_id_t xid, coreid_t core)
 builds the iface name representation More...
 
errval_t xeon_phi_domain_lookup (const char *iface, xphi_dom_id_t *retdomid)
 Non-blocking name service lookup. More...
 
errval_t xeon_phi_domain_blocking_lookup (const char *iface, xphi_dom_id_t *retdomid)
 Blocking name service lookup. More...
 
errval_t xeon_phi_domain_register (const char *iface, xphi_dom_id_t domid)
 Register with name service. More...
 

Detailed Description

Client for interacting with the name service.

Function Documentation

errval_t xeon_phi_domain_blocking_lookup ( const char *  iface,
xphi_dom_id_t *  retdomid 
)

Blocking name service lookup.

Parameters
ifaceName of the domain
retdomidreturns the Xeon Phi Domain ID
char* xeon_phi_domain_build_iface ( const char *  name,
xphi_id_t  xid,
coreid_t  core 
)

builds the iface name representation

Parameters
ifaceName of the domain
xidXeon Phi ID or XEON_PHI_DOMAIN_HOST the domain is runnig on
coreThe core the domain is running on
Returns
string with the proper format
errval_t xeon_phi_domain_lookup ( const char *  iface,
xphi_dom_id_t *  retdomid 
)

Non-blocking name service lookup.

Parameters
ifaceName of the domain
retdomidreturns the Xeon Phi Domain ID
errval_t xeon_phi_domain_register ( const char *  iface,
xphi_dom_id_t  domid 
)

Register with name service.

Parameters
ifaceName of the domain
retdomidreturns the Xeon Phi Domain ID