userspace: hal and libwr: change prototypes for exports
This has no effect on the code functionality.
Even if it affects libwr, this is a hal-only change. The functions
in libwr that the hal itself uses, now receive a pointer to ports[],
which is thus back a static pointer within wrsw_hal/hal_ports.c.
This change allows moving the RPC queries to be shared memory lookups,
by using the ports[] pointer in the client; so both the client and
the server can access the same shared mamory using libwr functions.
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
Showing
- userspace/libwr/hal_shmem.c 7 additions, 4 deletionsuserspace/libwr/hal_shmem.c
- userspace/libwr/include/libwr/hal_shmem.h 8 additions, 9 deletionsuserspace/libwr/include/libwr/hal_shmem.h
- userspace/wrsw_hal/hal_exports.c 7 additions, 3 deletionsuserspace/wrsw_hal/hal_exports.c
- userspace/wrsw_hal/hal_main.c 1 addition, 4 deletionsuserspace/wrsw_hal/hal_main.c
- userspace/wrsw_hal/hal_ports.c 8 additions, 5 deletionsuserspace/wrsw_hal/hal_ports.c
- userspace/wrsw_hal/wrsw_hal.h 4 additions, 1 deletionuserspace/wrsw_hal/wrsw_hal.h
Please register or sign in to comment