-
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 <rubini@gnudd.com>
493dee1e
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
include/arch | ||
Makefile | ||
bare-i386.h | ||
bare-i386.lds | ||
bare-io.c | ||
bare-socket.c | ||
bare-startup.c | ||
bare-time.c | ||
bare-timeout.c | ||
crt0.S | ||
main-loop.c | ||
syscalls.c | ||
syscalls.h |