• Alessandro Rubini's avatar
    general: fix sent_seq_id in ppi structure · 493dee1e
    Alessandro Rubini authored
    The structure was separately allocated with a size of 16.  This avoids
    the alloc and makes the array the right size from the enum of message
    types. We thus a remove a number of magic "16" in the code.
    wrpc-sw must be updated too, in order to use this commit.
    
    There's still a problem: the code claims the number to be "last sent",
    but actually the value is incremented after sending. I'll need to pass
    again on this thing.
    
    ps: I changed name from "sent_seq_id" to "sent_seq" to the compiler
    complains for previous users, otherwise undetectable.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    493dee1e
Name
Last commit
Last update
..
include/arch Loading commit data...
Makefile Loading commit data...
bare-i386.h Loading commit data...
bare-i386.lds Loading commit data...
bare-io.c Loading commit data...
bare-socket.c Loading commit data...
bare-startup.c Loading commit data...
bare-time.c Loading commit data...
bare-timeout.c Loading commit data...
crt0.S Loading commit data...
main-loop.c Loading commit data...
syscalls.c Loading commit data...
syscalls.h Loading commit data...