Commit Graph

110 Commits

Author SHA1 Message Date
Laurent Vivier
6381f5a95a Add all needed stuff for serial port management 2004-06-21 22:42:21 +00:00
Laurent Vivier
d04f6b28a8 Add PBWriteSync 2004-06-21 22:41:30 +00:00
Laurent Vivier
f4679e1e67 Add serial.o 2004-06-21 22:41:00 +00:00
Laurent Vivier
df7b2625d1 Add string conversion function from C string to pascal string 2004-06-21 22:40:10 +00:00
Laurent Vivier
574e8bdd9d Serial port management 2004-06-21 22:39:25 +00:00
Laurent Vivier
39d225cfc7 Add PBOpenSync(), PBCloseSync(), PBControlSync() 2004-06-18 15:37:08 +00:00
Laurent Vivier
f7824ea209 correct relocation of enter_kernel() at end of kernel 2004-06-16 21:01:40 +00:00
Laurent Vivier
3d3d43c373 add check_full_in_bank() 2004-06-16 17:23:12 +00:00
Laurent Vivier
40876f5e73 Remove obsolete KERNEL_ARCH/TARGET_??? 2004-06-16 17:22:22 +00:00
Laurent Vivier
dd44e86f5e disable cache early (resolve bad ramdisk detection 2004-06-09 20:52:14 +00:00
Laurent Vivier
e56b1b94fd Add disable_cache() for 030 and 040 (new) 2004-06-09 17:34:40 +00:00
Laurent Vivier
97ac148b40 Add .chip directive 2004-06-09 12:24:24 +00:00
Laurent Vivier
ecfd051646 use copymem.i to copy kernel 2004-06-07 22:13:00 +00:00
Laurent Vivier
f71c1048cd put enter_kernel function at end of kernel image to avoid ovelaping 2004-06-07 18:52:31 +00:00
Laurent Vivier
f4ba7af2a5 Align memory allocation 2004-06-07 18:51:51 +00:00
Laurent Vivier
4132ea5993 align 2004-06-07 18:51:24 +00:00
Laurent Vivier
ecfa5bf4a9 Pass first level parameter in a structure 2004-06-04 22:29:43 +00:00
Laurent Vivier
7114efab5f use uncompressed size instead buffer size to find end of kernel to put boot info 2004-06-03 22:39:38 +00:00
Laurent Vivier
aedc975d9e return uncompressed size 2004-06-03 22:38:24 +00:00
Laurent Vivier
951e98d268 Pass booter info by args of start() 2004-06-03 19:30:26 +00:00
Laurent Vivier
ceb9864aed take kernel size from uncompress(), because _kernel_size from head.S is in fact a buffer size 2004-06-03 08:16:38 +00:00
Laurent Vivier
ac8cf01ea2 pass ramdisk image address by argument to bootinfo_init() 2004-06-03 08:11:23 +00:00
Laurent Vivier
e441c4b560 pass compress image address by argument to uncompress() and remove unneeded size 2004-06-03 08:02:41 +00:00
Laurent Vivier
2a2df578f3 change octal to hexadecimal, correct some warnings 2004-06-03 07:56:17 +00:00
Laurent Vivier
71ffdff25f add __attribute__ ((noreturn)) to error() 2004-06-03 07:54:56 +00:00
Laurent Vivier
3fb94f986f Set mmu type according to cpu type when gestalt() says noMMU 2004-06-02 21:11:21 +00:00
Laurent Vivier
35c022d25d 64bit support for tools 2004-06-02 17:39:10 +00:00
Laurent Vivier
4009f209f3 add misc.h for glue.h (for 64bit support) 2004-06-02 17:38:24 +00:00
Laurent Vivier
632dcb29bb define u_int8_t, int8_t, u_int16_t, int16_t, u_int32_t, int32_t for m68k 2004-06-02 17:37:06 +00:00
Laurent Vivier
5dbc36d650 floppy image is now built from several parts (first, second, kernel, ramdisk) with emile-install. Linker cannot provide kernel size and position anymore 2004-06-01 22:00:21 +00:00
Laurent Vivier
c814cb68e9 Enhance second stage header 2004-05-26 23:05:35 +00:00
Laurent Vivier
4e162a6fd7 load binary image from disk 2004-05-26 21:59:06 +00:00
Laurent Vivier
c680062e0c add memdump() 2004-05-26 21:41:20 +00:00
Laurent Vivier
7d8654276a Add PBReadSync() 2004-05-26 21:32:13 +00:00
Laurent Vivier
d795ed1334 move ParamBlockRec from tools/emile-first.h to second/glue.h 2004-05-26 21:29:16 +00:00
Laurent Vivier
2cc1e38203 move some stuff from head.S to main.c 2004-05-26 18:32:49 +00:00
Laurent Vivier
e8caeccc6b remove unneeded init of some variables to move it back to section bss 2004-05-25 23:30:31 +00:00
Laurent Vivier
607296c9d5 arch_init must be before init_memory_map, console_init can be the first call 2004-05-25 23:16:56 +00:00
Laurent Vivier
b7666960ce correct typo 2004-05-25 20:14:08 +00:00
Laurent Vivier
8b4036e0f5 Allocate and relocate section BSS 2004-05-25 20:12:52 +00:00
Laurent Vivier
cf8d13a76f Use absolute address to lowmem variables 2004-05-25 19:32:12 +00:00
Laurent Vivier
25aa3bb8ff Use MacOS memory Management 2004-05-25 19:30:23 +00:00
Laurent Vivier
e3780d21ef Make second level relocatable using -fpic and "GLOBAL_OFFSET_TABLE"
should be improved by using -mrelpc, but this flags is only supported by
gcc > 3.0 (and I use gcc 2.95)
2004-05-24 23:59:13 +00:00
Laurent Vivier
e839d9fc1f Allow to set kernel command line 2004-05-19 00:09:58 +00:00
Laurent Vivier
09a8205e86 Remove only first 32KB from allocatable memory 2004-05-11 23:09:45 +00:00
Laurent Vivier
f77ce55dad Display physical memory 2004-05-11 23:05:10 +00:00
Laurent Vivier
14cd3cd3cb I move to a debian box, and ls and awk have not the same path as on my
previous Mandrake box. I decide to remove absolute path.
2004-05-11 23:02:18 +00:00
Laurent Vivier
235a70d6f3 call 030 when 030, and 040 when 040, and not 030 when 040 and 040 when 030... 2004-03-06 01:29:27 +00:00
Laurent Vivier
3329589705 Add 68040 MMU support 2004-03-06 01:10:31 +00:00
Laurent Vivier
9b2dcff01f really disable MMU 2004-03-06 01:00:18 +00:00