Commit Graph

39 Commits

Author SHA1 Message Date
Laurent Vivier
5de80e9c48 Add command line interface 2008-09-02 19:40:35 +00:00
Laurent Vivier
1a1478bfe8 correctly get boot unit 2008-08-12 23:37:22 +00:00
Laurent Vivier
4e79c0b645 if APPLE_DRIVER, set the default unit to the boot unit 2008-08-12 13:55:44 +00:00
Laurent Vivier
b0ae9341dd don't crash when configuration file is not found 2008-07-28 23:43:21 +00:00
Laurent Vivier
907bb917e6 correctly decode kernel path and center title 2008-07-08 21:58:03 +00:00
Laurent Vivier
15ac0c394f correct typo 2008-04-16 18:22:05 +00:00
Laurent Vivier
35bfdc35f0 Add root property, rename parameters as args 2008-04-16 13:43:28 +00:00
Laurent Vivier
55aa4a8e04 correct memory corruption by hazardous free(), correct bad values (uninitalized) in error message 2007-10-22 22:06:52 +00:00
Laurent Vivier
ac524c2a45 store read_config() result in a structure 2007-10-21 01:48:34 +00:00
Laurent Vivier
2e5094aff9 Add chainloader parameter 2007-10-10 17:16:15 +00:00
Laurent Vivier
b7ced84ebe clear edit line correctly 2007-09-19 20:40:40 +00:00
Laurent Vivier
c7d9742b8a move cli.c to libui/edit.c 2007-09-17 23:31:17 +00:00
Laurent Vivier
dd9b4869c5 Correctly initialize stopbits 2007-09-16 16:22:07 +00:00
Laurent Vivier
dda7ab6a0e correct typo: console_set_position() is console_set_cursor_position() 2007-09-16 15:33:18 +00:00
Laurent Vivier
b82dc3e69f remove read_config_vga(), read_config_modem() and read_config_printer() and initialize vga and modem from read_config(), select one console when several available 2007-09-16 15:27:53 +00:00
Laurent Vivier
e8bbbe07bf config_read_vga() returns the value of the property, we select only one console if several are available (vga, modem, printer) 2007-09-11 23:05:11 +00:00
Laurent Vivier
e12e2bb481 The number of item in list is index not index+1 2007-09-11 22:57:52 +00:00
Laurent Vivier
4847639ee2 correct management of return value of config_get_property 2007-08-31 23:25:41 +00:00
Laurent Vivier
4b4778b1c0 Add some text to explain which keys to press 2007-08-31 23:11:04 +00:00
Laurent Vivier
d9885d3bf2 second level is able to manage multiple kernels list 2007-08-31 21:56:45 +00:00
Laurent Vivier
d7ef366023 use libconfig 2007-08-25 21:33:57 +00:00
Laurent Vivier
b38e307214 Add timeout to scrolllist 2007-08-22 18:59:03 +00:00
Laurent Vivier
b14103168d choice and i are needed outside USE_CLI 2007-08-21 22:12:27 +00:00
Laurent Vivier
f960038213 Use a scroll list to display list of available kernels 2007-08-21 22:07:05 +00:00
Laurent Vivier
1d5adc3204 update header/copyright 2007-05-30 22:05:54 +00:00
Laurent Vivier
8d44531bf9 allow to manage several kernels 2007-05-24 17:27:35 +00:00
Laurent Vivier
f59ce4e653 Add missing include misc.h to define error() 2007-05-22 20:04:08 +00:00
Laurent Vivier
a8f1b3e0b3 Don't crash if kernel is not specified 2007-05-22 18:32:48 +00:00
Laurent Vivier
01b51b602b read_config_vga(), read_config_modem(), read_config_printer() read also the config file 2007-05-16 20:54:50 +00:00
Laurent Vivier
f35017ae04 Manage configuration stored in a file 2007-05-16 20:43:41 +00:00
Laurent Vivier
6f93ca663c emile_l2_header.configuration is int8_t, so functions arguments must use int8_t when dealing with configuration 2007-03-22 16:45:59 +00:00
Laurent Vivier
e68b0482e8 clear command line buffer before filling it with the property 2006-12-29 20:29:19 +00:00
Laurent Vivier
ad0f9c2b6b use get_next_property() and get_property() from libemile 2005-12-08 06:34:58 +00:00
Laurent Vivier
d0411ded91 read_line() : do not cross the the end of the configuration (0-mark), remove traces about kernel and initrd 2005-11-28 23:56:47 +00:00
Laurent Vivier
c0a9e8b158 Manage stopbits for serial, put parameters on a line alone, not inside kernel property 2005-11-28 23:20:25 +00:00
Laurent Vivier
c344eec4c8 Correct case where there is no parameter for the kernel 2005-11-28 00:15:36 +00:00
Laurent Vivier
9589271a29 EM06 header type: all is stored as text 2005-11-27 22:31:07 +00:00
Laurent Vivier
bdce469744 Don't print ramdisk if NULL 2005-11-26 09:24:43 +00:00
Laurent Vivier
cd1a4a225a Read configuration 2005-11-26 09:02:21 +00:00