|
From: Itsuro O. <od...@us...> - 2006-06-13 00:44:56
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/kernel In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4504/kernel Modified Files: mkexec_main.c Log Message: bug fix: bug: crash if mini kernel is "Initial RAM disk (initrd) suppor" on and not use initrd. Index: mkexec_main.c =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/kernel/mkexec_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mkexec_main.c 9 Mar 2006 23:47:58 -0000 1.3 --- mkexec_main.c 13 Jun 2006 00:44:51 -0000 1.4 *************** *** 256,260 **** image->segment[0].mem = (void *)0x90000; /* setup */ image->segment[1].mem = (void *)0x100000; /* kernel 1MB */ - image->segment[2].mem = (void *)0x800000; /* initrd 8MB */ return 0; --- 256,259 ---- *************** *** 384,387 **** --- 383,387 ---- } + image->segment[2].mem = (void *)0x800000; /* initrd 8MB */ image->segment[2].bufsz = image->segment[2].memsz = file_size; image->nr_segments = 3; /* XXX */ |