Commit Graph

441 Commits

Author SHA1 Message Date
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
Laurent Vivier
13d2ca4db7 use new interface to read config and to load kernel and ramdisk 2005-11-26 08:59:58 +00:00
Laurent Vivier
bb1664be29 move container to libcontainer 2005-11-26 08:59:14 +00:00
Laurent Vivier
93e7f68c4d correct libs ordering, add libblock 2005-11-23 22:44:12 +00:00
Laurent Vivier
696e2b9161 correct load_ramdisk() 2005-11-23 22:43:32 +00:00
Laurent Vivier
38e161e94c Add load_ramdisk(), remove load_image() and load_gzip() 2005-11-23 00:12:10 +00:00
Laurent Vivier
91aca2037d Add load_ramdisk() 2005-11-23 00:11:33 +00:00
Laurent Vivier
341672825a Add libisio9660, libstream, libgzip, libfloppy, libscsi... 2005-11-22 23:20:51 +00:00
Laurent Vivier
6ab4fcd8bc add load_kernel() 2005-11-22 23:18:06 +00:00
Laurent Vivier
6e979109ed Use libstream and decode ELF format 2005-11-22 23:17:31 +00:00
Laurent Vivier
d36bd9d0e9 moved to libstream 2005-11-22 23:16:51 +00:00
Laurent Vivier
01737ea3ce moved to libscsi 2005-11-17 13:33:14 +00:00
Laurent Vivier
cc45382557 moved to libscsi 2005-11-17 06:54:13 +00:00
Laurent Vivier
43c7d65e4f move to zlib-1.2.3 2005-11-16 00:48:20 +00:00
Laurent Vivier
aed2d777a0 change device interface 2005-11-13 19:43:28 +00:00
Laurent Vivier
fc3659730a Add #include 2005-11-12 22:35:44 +00:00
Laurent Vivier
be7b1acafb Add libiso9660 I/O interface 2005-11-12 22:33:12 +00:00
Laurent Vivier
0dbebc5e04 Add targets dist, install and uninstall. use libs libmacos and libunix 2005-11-08 02:15:06 +00:00
Laurent Vivier
9c370d7600 Move MacOS functions to libmacos, disable inline of putchar() enabled by -O2 2005-11-08 02:13:30 +00:00
Laurent Vivier
46132c2af2 Move MacOS functions to libmacos 2005-11-08 02:06:40 +00:00
Laurent Vivier
b0323e54df Move UNIX/POSIX/C functions to libunix 2005-11-08 02:04:54 +00:00
Laurent Vivier
02e687a878 some change in paramBlock 2005-11-04 10:20:39 +00:00
Laurent Vivier
bf1bdb6f92 Add VolumeParam and some 'unneeded' volume functions... 2005-11-04 10:18:41 +00:00
Laurent Vivier
088d52afef Add enter_kernel.o 2005-10-20 22:02:39 +00:00
Laurent Vivier
3276cd118c functions to enter kernel with/without MMU 2005-10-20 22:02:25 +00:00
Laurent Vivier
f962537ede define check_full_in_bank(a,b) (1) when no MMU 2005-10-20 22:01:29 +00:00
Laurent Vivier
4aa27aeab3 move some functions to enter_kernel.c 2005-10-20 22:00:44 +00:00
Laurent Vivier
46c2cae538 declare enter_kernel, end_kernel 2005-10-20 21:13:53 +00:00
Laurent Vivier
5b5f6118dd Declare MMU*_disable_cache 2005-10-20 21:12:59 +00:00
Laurent Vivier
7e7ae6ca7b add USE_MMU, USE_MMU030, USE_MMU040 2005-10-20 21:12:13 +00:00
Laurent Vivier
e864052a45 Add nop in cache disable 2005-10-20 12:32:48 +00:00
Laurent Vivier
02a73abc66 Disable Slot resources functions 2005-10-10 21:56:14 +00:00
Laurent Vivier
74135a8cda call turn_off_interrupts() 2005-10-10 21:51:02 +00:00
Laurent Vivier
91eb3f460c Add SGetTypeSRsrc() 2005-10-10 21:50:25 +00:00
Laurent Vivier
29d30cd033 Add turn_off_interrupts 2005-10-10 21:42:58 +00:00
Laurent Vivier
9704f9621c cleaning 2005-10-06 22:13:50 +00:00
Laurent Vivier
6b03bcd7be Add SGetCString() and SRsrcInfo() 2005-10-06 22:07:28 +00:00
Laurent Vivier
87c23547c0 Add function to list drivers 2005-10-06 21:06:20 +00:00
Laurent Vivier
950d8d3f99 move OpenDriver(), CloseDriver(), read(), write(), SerGetBuf() from serial.c to driver.c 2005-10-06 21:03:19 +00:00
Laurent Vivier
faac96d4a9 Add LMGetUnitTableEntryCount() and LMGetUTableBase() 2005-09-22 23:05:30 +00:00
Laurent Vivier
606df3c2a6 Add p2cstring() 2005-09-22 23:04:43 +00:00
Laurent Vivier
8bcae44b04 set netBSD flags 2005-09-21 23:23:18 +00:00
Laurent Vivier
e6e52556ff Add support for NetBSD (env) 2005-09-19 22:15:34 +00:00
Laurent Vivier
145ed7479e More NetBSD support 2005-09-19 22:10:41 +00:00
Laurent Vivier
dbfff6ba88 Define COMMAND_LINE_LENGTH 2005-09-19 22:08:08 +00:00
Laurent Vivier
69d73de025 Set some env variables 2005-09-19 22:07:21 +00:00
Laurent Vivier
be8b8ee163 move gmt_bias from bootinfo.c to arch.c 2005-09-19 22:01:53 +00:00
Laurent Vivier
1e3f09576a Force primary target 2005-09-19 19:20:33 +00:00
Laurent Vivier
f696ece068 Add support for multiple kernel type: add netBSD 2005-09-19 19:08:55 +00:00
Laurent Vivier
acf4794515 Add netBSD boot parameters support 2005-09-19 19:05:02 +00:00
Laurent Vivier
7df4fa9949 Add an entry point in enter_kernel for netBSD support 2005-09-19 19:03:39 +00:00
Laurent Vivier
f77dcd8300 Correct KERNEL PANIC on IIci: move bootinfo() and set_kernel_bootinfo() after disable_cache() 2005-09-07 00:29:22 +00:00