Chameleon

Chameleon Commit Details

Date:2010-10-25 18:57:08 (8 years 11 months ago)
Author:Azimutz
Commit:614
Parents: 613
Message:Double the size of memory reserved for booter log. Fixes some problems while booting with -f argument (ignore boot caches).
Changes:
M/branches/azimutz/Chazi/i386/libsaio/console.c
M/branches/azimutz/Chazi/i386/libsa/zalloc.c

File differences

branches/azimutz/Chazi/i386/libsaio/console.c
5353
5454
5555
56
57
56
57
58
59
60
61
5862
5963
6064
bool gErrors;
/* Kabyl: BooterLog */
#define BOOTER_LOG_SIZE(64 * 1024)
#define SAFE_LOG_SIZE80
//Azi: Double log available size; this seems to fix some hangs and instant reboots caused by
// booting with -f (ignore caches). 96kb are enough to hold full log, booting with -f; even so,
// this depends on how much we "play" at the boot prompt and with what patches we're playing,
// depending on how much they print to the log.
#define BOOTER_LOG_SIZE(128 * 1024)
#define SAFE_LOG_SIZE134
char *msgbuf = 0;
char *cursor = 0;
branches/azimutz/Chazi/i386/libsa/zalloc.c
3030
3131
3232
33
34
3335
3436
3537
38
39
3640
3741
3842
*/
#include "libsa.h"
//#include "saio_internal.h" //Azi: needed for ZDEBUG (printf).
// Check other DEBUG's, i forgot those while messing with includes.
#include "memory.h"
#define ZDEBUG 0
//Azi: this DEBUG is messed up; it hangs while "boot1: ..." with
// black screen on my branch and instant reboot on trunk.
#if ZDEBUG
int zout;

Archive Download the corresponding diff file

Revision: 614