mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[util] Replace kutil with util
Now that kutil has no kernel-specific code in it anymore, it can actually be linked to by anything, so I'm renaming it 'util'. Also, I've tried to unify the way that the system libraries from src/libraries are #included using <> instead of "". Other small change: util::bip_buffer got a spinlock to guard against state corruption.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#include "kutil/no_construct.h"
|
||||
#include "printf/printf.h"
|
||||
#include <util/no_construct.h>
|
||||
|
||||
#include "console.h"
|
||||
#include "printf/printf.h"
|
||||
#include "serial.h"
|
||||
|
||||
|
||||
const char digits[] = "0123456789abcdef";
|
||||
|
||||
static kutil::no_construct<console> __g_console_storage;
|
||||
static util::no_construct<console> __g_console_storage;
|
||||
console &g_console = __g_console_storage.value;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user