This website requires JavaScript.
Explore
Help
Register
Sign In
Virtualization
/
SLOF
mirror of
https://gitlab.com/qemu-project/SLOF.git
Watch
1
Star
0
Fork
You've already forked SLOF
0
Code
Issues
Projects
Releases
Wiki
Activity
26d8ba1703
SLOF
/
lib
/
libnet
/
libnet.in
4 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Link libnet code to Paflof and add a wrapper for netboot() Now that all necessary functions are provided by Paflof, too, we can finally link the libnet code to this binary. To be able to call the netboot() function from the Forth code now, we also add a wrapper that takes the parameter string from the obp-tftp package and converts it to an argv array that is expected by the netboot() function. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-10-12 18:44:03 +08:00
cod(NET-LOAD)
Add a Forth-to-C wrapper for the ping command, too Now that we link libnet to Paflof, we can call the ping function there directly instead of using the one from net-snk. We add a similar Forth-to-C wrapper like it has already been done for netboot() - simplification and clean-up will be done in a later patch once we do not link against net-snk anymore. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-10-12 18:44:04 +08:00
cod(NET-PING)