• Alessandro Rubini's avatar
    arch-wrs: replace some RPC with shared memory access · 513151b2
    Alessandro Rubini authored
    The HAL process, in the white rabbit switch, is now exporting data
    structures in shared memory. Thus, we don't need to "get_port_state"
    by RPC, and accessing shared memory is enough.  This change in ppsi
    involves the following changes:
    
    arch-wrs/wrs-startup.c: offer global hal_ports[] for others to use
    (yes, globals are bad, I know...)
    
    arch-wrs/include/ppsi-wrs.h: provide pp_wrs_lookup_port
    
    time-wrs/wrs-socket.c: use shmem. This means some values are now
    hardwired as constants, because they were passed as such from the hal.
    
    arch-wrs/main-loop.c: verify link up or down in the shared mem status
    
    arch-wrs/wrs-calibration.c: wrs_read_calibration_data uses shmem
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    513151b2
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-sim Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
configs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
scripts Loading commit data...
time-bare Loading commit data...
time-sim Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...