Commit Graph

492 Commits

Author SHA1 Message Date
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
Laurent Vivier
03adde4f89 Add console_set_cursor_position() console_get_cursor_position() console_get_size() 2007-08-12 18:05:02 +00:00
Laurent Vivier
61799a90e3 swap parameters of console_set_cursor_position() 2007-06-06 13:21:52 +00:00
Laurent Vivier
245acc3c4c Manage VT100 get_cursor_position command 2007-06-06 12:34:52 +00:00
Laurent Vivier
981121e8fa correct CSI H: swap X and Y 2007-06-01 21:19:15 +00:00
Laurent Vivier
bc2f989dd6 add console_set_cursor_position() 2007-06-01 20:48:44 +00:00
Laurent Vivier
afa4db753e Manage VT100 character sets 2007-06-01 20:37:20 +00:00
Laurent Vivier
e97734ac1a cleanup vt100 part 2007-05-31 17:36:59 +00:00
Laurent Vivier
1d5adc3204 update header/copyright 2007-05-30 22:05:54 +00:00
Laurent Vivier
93d4e46279 use VT100 escape characters to control display 2007-05-30 22:05:10 +00:00
Laurent Vivier
d9edce894b move VT100 escape commands to console.c 2007-05-30 22:01:40 +00:00
Laurent Vivier
f0df08ad7e Control display using vt100 escape characters, define inverse/normal video mode 2007-05-30 21:59:00 +00:00
Laurent Vivier
8d44531bf9 allow to manage several kernels 2007-05-24 17:27:35 +00:00
Laurent Vivier
d13cb5bd7a move copyright and available memory to config.c 2007-05-24 17:23:25 +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
7e334dcc2f change signature to EM07 to support config file 2007-05-12 19:33:25 +00:00
Laurent Vivier
272ac39b96 remove display_properties.S and define LMGetMainDevice(), detect display in vga_init() 2007-03-31 07:26:05 +00:00
Laurent Vivier
deb2d4c4d3 vga.base and vga.video are not arrays 2007-03-25 00:34:44 +00:00
Laurent Vivier
64e1ab4983 a pointer to an array is the array itself 2007-03-22 17:02:00 +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
41e204ab1d a C string is signed char 2007-03-22 16:42:06 +00:00
Laurent Vivier
1cab2b046b second argument of Gestalt() is signed long, cast unsigned parameter 2007-03-22 16:27:34 +00:00
Laurent Vivier
21bec7bfa7 font_get is unsigned 2007-03-22 16:22:45 +00:00
Laurent Vivier
ddddfeffbb set variable kernel by casting with (char*) instead of (unsigned char*) 2007-03-22 16:21:54 +00:00
Laurent Vivier
cdc94e3962 change .chip to .cpu to use binutils 2.17 2007-03-22 15:36:39 +00:00
Laurent Vivier
edd5bc94fb Correct GPR[7] init 2007-02-19 15:57:57 +00:00
Laurent Vivier
93926639bc Remove section .bootstrap from swith_to_PPC.o to be able to put the new one 2007-02-19 15:57:25 +00:00
Laurent Vivier
f48db9e15f Add bootstrap section in swith_to_PPC.o instead of main.o 2007-02-17 22:39:07 +00:00
Laurent Vivier
e2777d45e2 use swith_to_PPC and a bootstrap to boot kernel PPC 2007-02-17 22:38:18 +00:00
Laurent Vivier
26118c7f51 update copyright to 2007 2007-02-17 22:29:23 +00:00
Laurent Vivier
17796502ab Add some code to use bootstrap 2007-02-17 22:27:08 +00:00
Laurent Vivier
29e78549bc remove bootstrapPPC.h 2007-02-05 11:52:06 +00:00
Laurent Vivier
ecd6e4a478 Define PPC registers for PPC bootstrap 2007-02-02 22:29:40 +00:00
Laurent Vivier
ada6f874ba correct bootstrap dependency 2007-02-02 22:27:58 +00:00
Laurent Vivier
46d18c90b4 Add bootstrap and switch to PPC 2007-02-02 22:21:38 +00:00
Laurent Vivier
09991740ef Add bootstrap section in main.o and copy it to second.o 2007-02-02 22:12:48 +00:00
Laurent Vivier
1c837e7b48 Add bootstrap section 2007-02-02 22:10:17 +00:00
Laurent Vivier
7ea5409a1c Substract min_addr instead of PAGE_SIZE, align kernel address on PAGE_SIZE 2007-02-02 20:13:11 +00:00
Laurent Vivier
68e219e402 remove unused file 2007-01-01 20:53:32 +00:00
Laurent Vivier
51aa5b458f correct typo 2007-01-01 18:51:03 +00:00
Laurent Vivier
2f0f9f997e Add support for e_machine EM_PPC 2006-12-30 17:19:58 +00:00
Laurent Vivier
c7c53e03bf remove bootstrap_size for ARCH_PPC 2006-12-29 22:14:13 +00:00
Laurent Vivier
da4ce9585c correct errors to re-activate ARCH_PPC 2006-12-29 22:13:22 +00:00
Laurent Vivier
53d1c73f96 include macos/types.h 2006-12-29 22:10:34 +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
58efcb5f44 remove unneeded packed attribute 2006-12-29 20:28:28 +00:00
Laurent Vivier
164f1b4abf Add unused function to list drivers if needed 2006-10-28 10:16:47 +00:00
Laurent Vivier
c257b6b678 update (c) date 2006-10-20 22:21:41 +00:00
Laurent Vivier
3eb8a4e2cc Call SetInterrupt() only for Display drivers, call DrvrRemove() (why not ?) 2006-10-20 22:14:26 +00:00
Laurent Vivier
1bb375da59 Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
Laurent Vivier
851e1e0777 check result of graphic init 2005-12-12 22:31:05 +00:00
Laurent Vivier
ad0f9c2b6b use get_next_property() and get_property() from libemile 2005-12-08 06:34:58 +00:00
Laurent Vivier
f143ea45a2 add 0%, check return of seek() 2005-12-05 19:57:27 +00:00
Laurent Vivier
9c140330c5 remove banner and some traces 2005-12-05 19:56:37 +00:00
Laurent Vivier
5194edb54d Remove traces (MMU type) 2005-12-05 19:53:39 +00:00
Laurent Vivier
7e6ec8e67b Add a progress bar 2005-12-02 19:05:36 +00:00
Laurent Vivier
3be455d92b check return value of stream_read() 2005-12-02 01:19:51 +00:00
Laurent Vivier
30f53ccdbb Add libcontainer 2005-12-01 22:16:34 +00:00
Laurent Vivier
116c7694fb some cleanups for dist 2005-12-01 13:52:01 +00:00
Laurent Vivier
afb28049a1 remove lowmem.h and memory.h, moved to libmacos 2005-11-29 00:18:58 +00:00
Laurent Vivier
896ac19f91 Obsoleted by EM06 2005-11-28 23:57:42 +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
e44fa532f2 add read_config_vga() 2005-11-28 23:21:00 +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
Laurent Vivier
10099df5fe Add config.c, remove ata, add LIBS_MEDIA 2005-11-26 09:01:36 +00:00
Laurent Vivier
b7204c461d correct print format 2005-11-26 09:00:23 +00:00