Laurent Vivier
|
9c140330c5
|
remove banner and some traces
|
2005-12-05 19:56:37 +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
|
9c370d7600
|
Move MacOS functions to libmacos, disable inline of putchar() enabled by -O2
|
2005-11-08 02:13:30 +00:00 |
|
Laurent Vivier
|
4aa27aeab3
|
move some functions to enter_kernel.c
|
2005-10-20 22:00:44 +00:00 |
|
Laurent Vivier
|
7e7ae6ca7b
|
add USE_MMU, USE_MMU030, USE_MMU040
|
2005-10-20 21:12:13 +00:00 |
|
Laurent Vivier
|
74135a8cda
|
call turn_off_interrupts()
|
2005-10-10 21:51:02 +00:00 |
|
Laurent Vivier
|
145ed7479e
|
More NetBSD support
|
2005-09-19 22:10:41 +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 |
|
Laurent Vivier
|
1bd317067f
|
RAMDISK memory MUST be allocated at top of memory
|
2005-09-05 21:11:12 +00:00 |
|
Laurent Vivier
|
4222e48572
|
Use console_cursor_on(), console_cursor_off(), console_cursor_save(), console_cursor_restore()
|
2005-08-28 21:42:18 +00:00 |
|
Laurent Vivier
|
279250d2c7
|
Call cli_edit() to edit parameters
|
2005-08-27 21:25:33 +00:00 |
|
Laurent Vivier
|
221fbfb12a
|
68000: Set memory bank from KERNEL_LOADADDR to ScrnBase - 0x8000
|
2005-06-30 08:55:28 +00:00 |
|
Laurent Vivier
|
a9c5d929c8
|
Add low memory offset (0x3000)
|
2005-06-30 01:05:46 +00:00 |
|
Laurent Vivier
|
399f4f4fbc
|
correct typo
|
2005-06-27 22:22:37 +00:00 |
|
Laurent Vivier
|
6e899e57ca
|
68000: really set physImage to kernel address
|
2005-06-14 20:15:46 +00:00 |
|
Laurent Vivier
|
4ddcf438d9
|
Add 68000-based macintosh support: load kernel at address 0x4000
|
2005-06-14 19:39:43 +00:00 |
|
Laurent Vivier
|
da403aff9f
|
move uncompressing kernel from main.c to load.c
|
2005-06-09 19:58:49 +00:00 |
|
Laurent Vivier
|
545cbd81d0
|
Add 'ori.w #0x0700,%sr'
|
2005-05-25 22:05:35 +00:00 |
|
Laurent Vivier
|
09f058298b
|
concatenate string of EMILE and CPU type
|
2005-05-22 23:16:54 +00:00 |
|
Laurent Vivier
|
8cfdb1db76
|
cast for entry, to support gcc 3.3
|
2005-05-22 21:16:57 +00:00 |
|
Laurent Vivier
|
d6f85543c3
|
Add support of CPU without MMU
|
2005-05-16 21:38:33 +00:00 |
|
Laurent Vivier
|
d7cc164486
|
Restore RBV macintosh compatibility
|
2005-05-14 01:12:46 +00:00 |
|
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 |
|