mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04: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,7 +1,7 @@
|
||||
#include <uefi/boot_services.h>
|
||||
#include <uefi/types.h>
|
||||
#include <util/no_construct.h>
|
||||
|
||||
#include "kutil/no_construct.h"
|
||||
#include "allocator.h"
|
||||
#include "error.h"
|
||||
#include "init_args.h"
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
namespace boot {
|
||||
|
||||
kutil::no_construct<memory::allocator> __g_alloc_storage;
|
||||
util::no_construct<memory::allocator> __g_alloc_storage;
|
||||
memory::allocator &g_alloc = __g_alloc_storage.value;
|
||||
|
||||
namespace memory {
|
||||
|
||||
Reference in New Issue
Block a user