Now using static buffers (and protecting with a semaphore) for kernel secprintf.

We have to do this because we need secure output in kmalloc.
This commit is contained in:
Scott Haseley
2016-03-07 15:05:58 -05:00
parent 2cb47cb4c8
commit 196bb3b684
4 changed files with 53 additions and 28 deletions

View File

@@ -48,6 +48,7 @@
#include <device.h>
#include <syscall.h>
#include <test.h>
#include <kern/test161.h>
#include <version.h>
#include "autoconf.h" // for pseudoconfig
@@ -127,6 +128,7 @@ boot(void)
vm_bootstrap();
kprintf_bootstrap();
thread_start_cpus();
test161_bootstrap();
/* Default bootfs - but ignore failure, in case emu0 doesn't exist */
vfs_setbootfs("emu0");