• Alessandro Rubini's avatar
    userspace/libwr: hal_client: use shared memory instead of RPC (2 functions) · 27794762
    Alessandro Rubini authored
    This moves the query_ports() and get_port_state() to be shared memory
    lookups.
    
    The hal_client.c file now accesses shared memory at init time, and
    performes the two functions above by looking in shared memory.
    
    The thing is sill suboptimal, because the "exported" hexp_port_state_t
    structure is only slightly different from struct hal_port_state. And
    most fields being looked up are never filled.
    
    Last but not least, halexp_get_timing_state() is not ready to be
    converted to shared memory at this point in time (timing data is not
    stored to shmem yet).
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    27794762
Name
Last commit
Last update
..
include/libwr Loading commit data...
Makefile Loading commit data...
README Loading commit data...
fan.c Loading commit data...
fpga_io.c Loading commit data...
hal_client.c Loading commit data...
hal_shmem.c Loading commit data...
hwiu.c Loading commit data...
i2c.c Loading commit data...
i2c.h Loading commit data...
i2c_bitbang.c Loading commit data...
i2c_bitbang.h Loading commit data...
i2c_fpga_reg.c Loading commit data...
i2c_fpga_reg.h Loading commit data...
i2c_io.c Loading commit data...
i2c_io.h Loading commit data...
i2c_sfp.c Loading commit data...
i2c_sfp.h Loading commit data...
init.c Loading commit data...
libshw_i2c.c Loading commit data...
libshw_i2c.h Loading commit data...
pio.c Loading commit data...
pps_gen.c Loading commit data...
ptpd_netif.c Loading commit data...
rt_client.c Loading commit data...
shmem.c Loading commit data...
shw_io.c Loading commit data...
spwm-regs.h Loading commit data...
trace.c Loading commit data...
util.c Loading commit data...