• Alessandro Rubini's avatar
    userspace/hal: move RPC data marshalling to libwr · 84684e87
    Alessandro Rubini authored
    This is the first step to move the "get_port_state" query to shared
    memory.  The internal structures of hal_ports.c will be allocated
    in shared memory, so the calls to halexp_* will just convert the data,
    without context-switching to the hal process.
    
    I couldn't add the functions to libwr/hal_client.c where they belong,
    because the choice of using the same "halexp" names for local and remote
    calls would lead to duplicate symbol definitions when linking the hal
    (the hal process links libwr, but can't link hal_client.o).
    Thus, libwr/hal_shmem.c is created, to host the parts of hal/hal_ports.c
    that are needed to convert data.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    84684e87
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...