Commit Graph

464 Commits

Author SHA1 Message Date
Laurent Vivier
c4fb2d359e Add error message 2007-11-02 09:39:21 +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
90db2e2b91 Add libmap 2007-10-10 21:17:40 +00:00
Laurent Vivier
2e5094aff9 Add chainloader parameter 2007-10-10 17:16:15 +00:00
Laurent Vivier
41b81d76fb Add load_chainloader() 2007-10-10 17:14:42 +00:00
Laurent Vivier
816a2002a7 define driver_ptr() which computes driver pointer according handle and dCtlFlags 2007-10-08 13:32:52 +00:00
Laurent Vivier
8b3e28e5b7 add drive_to_refnum() and refnum_to_drive() 2007-10-08 13:20:24 +00:00
Laurent Vivier
636b4d0868 Find scsi id accorind refnum and vice-versa 2007-10-08 12:38:22 +00:00
Laurent Vivier
b7ced84ebe clear edit line correctly 2007-09-19 20:40:40 +00:00
Laurent Vivier
600f012138 make vga_clear() only if vga is enabled 2007-09-18 22:35:14 +00:00
Laurent Vivier
c7d9742b8a move cli.c to libui/edit.c 2007-09-17 23:31:17 +00:00
Laurent Vivier
f6fea68b4a moved to libui/edit.c and libui/libui.h 2007-09-17 23:10:19 +00:00
Laurent Vivier
2526dd9419 Return to menu if kernel or ramdisk fail to load 2007-09-17 22:23:06 +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
abb1e988bf Select only one console when several are available, add console_get_cursor_position(), console_get_size() and console_status_request() 2007-09-16 15:26:17 +00:00
Laurent Vivier
a3aaf95a3c manage correctly keypressed (don't eat the key), initialize independently modem and printer 2007-09-16 15:11:54 +00:00
Laurent Vivier
267264c0f4 select the mode according the configuration 2007-09-16 15:10:49 +00:00
Laurent Vivier
b78ead9cf9 move console_init() to main() 2007-09-16 15:09:15 +00:00
Laurent Vivier
ac5de6e43d reverse previous modification 2007-09-15 05:29:18 +00:00
Laurent Vivier
cdd6ddb62a correctly manage configuration: use open_config() 2007-09-15 05:15:36 +00:00
Laurent Vivier
0eba1130ae on clean, remove *-full directories, bug found by Finn Thain 2007-09-13 07:44:35 +00:00
Laurent Vivier
a370cdfd49 Adjust position and size of progress bar according size of the screen 2007-09-11 23:15:52 +00:00
Laurent Vivier
7ee8215201 include head.h to have emile_l2_header_t definition 2007-09-11 23:10:06 +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
bc78ec0127 Select only one console when several are available, implement console_get_cursor_position() and console_get_size() 2007-09-11 23:03:10 +00:00
Laurent Vivier
f5740cf4e3 remove useless buffering code, allow to select the port to which we want to send output 2007-09-11 23:01:30 +00:00
Laurent Vivier
78e15acf9d Add vga_is_available() to know if VGA has been activated, give level 2 info to vga_init 2007-09-11 23:00:07 +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
f934710d86 Exit from the escape sequence when cursor get position is found 2007-09-11 22:54:58 +00:00
Laurent Vivier
8a586c3e31 include tools.mk 2007-09-06 22:09:11 +00:00
Laurent Vivier
a7283acb85 Add include <sys/types>, patch by Finn Thain 2007-09-03 17:51:12 +00:00
Laurent Vivier
e2bf762517 Introduce MEDIA=full, use libstream/scsi instead libstream/hard 2007-09-01 22:21:45 +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
9f0952aa47 remove message "no RAMDISK" 2007-08-21 22:08:37 +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
2a8734aedc Add nice progess bar 2007-08-18 13:34:17 +00:00
Laurent Vivier
1fe38714a4 allow to have no timeout (by specifying 0) 2007-08-18 13:32:30 +00:00
Laurent Vivier
7279dcd375 Removem message "booting the kernel" 2007-08-18 13:31:22 +00:00
Laurent Vivier
70be974956 use libui to display a real progress bar 2007-08-12 20:46:00 +00:00
Laurent Vivier
2ac007f7c2 Add console_select_charset() 2007-08-12 20:43:28 +00:00
Laurent Vivier
60fa3d8d98 correct typo 2007-08-12 20:42:59 +00:00
Laurent Vivier
5bc97c0c34 Add libui 2007-08-12 20:41:36 +00:00