{ 254, 0 } /* 180 sets of 5 seconds per 15 minutes */
};
-/* We keep the boot up strings in the buffer pool then toss them! 8) */
-
-struct blkbuf bufpool[NBUFS] = {
- {"FUZIX version %s\n"
- "Copyright (c) 1988-2002 by H.F.Bower, D.Braun, S.Nitschke, H.Peraza\n"
- "Copyright (C) 1997-2001 by Arcady Schekochikhin, Adriano C. R. da Cunha\n"
- "Copyright (c) 2013 Will Sowerbutts <will@sowerbutts.com>\n"
- "Copyright (c) 2014 Alan Cox <alan@etchedpixels.co.uk>\nDevboot\n",},
- {"WARNING: Increase PTABSIZE to %d to use available RAM\n",},
- {"%dkB total RAM, %dkB available to processes (%d processes max)\n",},
-};
+struct blkbuf bufpool[NBUFS];
struct p_tab ptab[PTABSIZE];
struct oft of_tab[OFTSIZE]; /* Open File Table */
panic("no tty");
/* Sign on messages (stashed in a buffer so we can bin them */
- kprintf((char *)bufpool[0].bf_data, uname_str);
+ kprintf(
+ "FUZIX version %s\n"
+ "Copyright (c) 1988-2002 by H.F.Bower, D.Braun, S.Nitschke, H.Peraza\n"
+ "Copyright (C) 1997-2001 by Arcady Schekochikhin, Adriano C. R. da Cunha\n"
+ "Copyright (c) 2013 Will Sowerbutts <will@sowerbutts.com>\n"
+ "Copyright (c) 2014 Alan Cox <alan@etchedpixels.co.uk>\nDevboot\n",
+ uname_str);
#ifndef SWAPDEV
#ifdef PROC_SIZE
maxproc = procmem / PROC_SIZE;
/* Check we don't exceed the process table size limit */
if (maxproc > PTABSIZE) {
- kprintf((char *)bufpool[1].bf_data, maxproc);
+ kprintf("WARNING: Increase PTABSIZE to %d to use available RAM\n",
+ maxproc);
maxproc = PTABSIZE;
}
#else
maxproc = PTABSIZE;
#endif
/* Parameters message */
- kprintf((char *)bufpool[2].bf_data, ramsize, procmem, maxproc);
- /* Now blow away the strings */
+ kprintf("%dkB total RAM, %dkB available to processes (%d processes max)\n", ramsize, procmem, maxproc);
bufinit();
pagemap_init();