Commit Graph

45 Commits

Author SHA1 Message Date
Laurent Vivier
470a2a6315 Add BAT mapping for nubus, move interrupts deisabling to enter_kernel 2005-05-13 22:35:58 +00:00
Laurent Vivier
0caaed7a3e more PPC stuff, init PPC regs here 2005-05-13 17:25:13 +00:00
Laurent Vivier
2ac76100fa add casts and #ifdef 2005-05-12 21:04:29 +00:00
Laurent Vivier
87798930f1 more error cases for wrong architecture 2005-05-12 06:00:38 +00:00
Laurent Vivier
b990716081 Test all MMU types, more processor type specific code 2005-05-12 05:48:27 +00:00
Laurent Vivier
3721ba9227 Add multi-architecture support 2005-05-10 21:49:28 +00:00
Laurent Vivier
e2bbff5a94 don't allocate contiguous if not needed 2004-12-29 23:43:53 +00:00
Laurent Vivier
01cf507368 allow to boot with an uncompressed kernel 2004-12-25 01:35:31 +00:00
Laurent Vivier
208344ca0d load_image() doesn't malloc memory anymore, we must provide the buffer 2004-12-25 00:53:59 +00:00
Laurent Vivier
3111a9a2e6 Correct a major memroy usage mismatch 2004-12-24 22:36:45 +00:00
Laurent Vivier
5f3f4888ef remove floppy driver number in load_image() parameters, add base offset to kernel image offset to find container if SCSI_SUPPORT 2004-12-03 00:16:30 +00:00
Laurent Vivier
079def3b0b add floppy driver number in load_image() parameters 2004-12-01 00:22:46 +00:00
Laurent Vivier
5c6bccb928 more bootblock signatute 2004-10-07 19:52:44 +00:00
Laurent Vivier
5bfe6dfb97 add gestaltid 2004-10-07 09:09:58 +00:00
Laurent Vivier
5a5068cfb6 Add malloc_contiguous() 2004-07-12 21:32:44 +00:00
Laurent Vivier
524e4e046b to allow serial console, move last printf before cache flush and interrupt disabling 2004-06-23 19:09:11 +00:00
Laurent Vivier
6f2e5fe02a rename console_* to vga_*, move header struct to head.h 2004-06-22 21:28:36 +00:00
Laurent Vivier
f7824ea209 correct relocation of enter_kernel() at end of kernel 2004-06-16 21:01:40 +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
f71c1048cd put enter_kernel function at end of kernel image to avoid ovelaping 2004-06-07 18:52:31 +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
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
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
2cc1e38203 move some stuff from head.S to main.c 2004-05-26 18:32:49 +00:00
Laurent Vivier
09a8205e86 Remove only first 32KB from allocatable memory 2004-05-11 23:09:45 +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
7982826ab8 remove MMU.h, rename enter_kernel as enter_kernel030 2004-03-04 22:46:24 +00:00
Laurent Vivier
af0d528190 Add a skeleton of powerPC support 2004-02-26 22:51:37 +00:00
Laurent Vivier
ed6b726d10 Cleaning 2004-02-24 21:27:48 +00:00
Laurent Vivier
9290c1f2d8 works with RBV mac ! thank you penguin... very messy: FIX ME ! 2004-02-23 23:34:39 +00:00
Laurent Vivier
cf5c0993a3 Disable interrupts, correct entry_t 2004-02-23 00:20:11 +00:00
Laurent Vivier
fcd67e5680 Try to boot on RBV system 2004-02-21 01:43:51 +00:00
Laurent Vivier
9bb63653bf Rename map to memory_map and export it 2004-02-19 13:09:41 +00:00
Laurent Vivier
09aa0fdf33 add bank.[ch], move memory bank management into them 2004-02-19 11:34:18 +00:00
Laurent Vivier
5a921fb7ad Correct typo 2004-02-17 22:55:06 +00:00
Laurent Vivier
6e77d82535 Add logical address in bank information 2004-02-17 22:52:33 +00:00
Laurent Vivier
7201e9b32e move call to get_memory_mep() to memory.c 2004-02-17 10:26:46 +00:00
Laurent Vivier
11dd1c201c Initial revision 2004-02-15 20:46:45 +00:00