search for: make_cmdline

Displaying 2 results from an estimated 2 matches for "make_cmdline".

2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +0200 committer Maurice Massar
2010 Apr 27
4
Patch sensible callback framework
...:52:52.000000000 -0500 @@ -43,6 +43,7 @@ #include <stdio.h> #include <string.h> #include <console.h> +#include <syslinux/callback.h> #include <syslinux/loadfile.h> #include <syslinux/linux.h> #include <syslinux/pxe.h> @@ -108,6 +109,32 @@ static char *make_cmdline(char **argv) return cmdline; } +void linux_percent_progress_cb(const char* file, size_t cur, size_t total) { + int percent = (int)(((float)cur / (float)total) * 100.0); + clear_line(); + move_cursor_to_column(0); + printf("Loading: %s %d%%", file, percent); +} + +void...