1/**
2 * @file init.h
3 * @brief Initialization functions for OS related functions.
4 */
5
6#pragma once
7
8#include <nn/mem.h>
9#include <nn/types.h>
10
11namespace nn {
12namespace init {
13void InitializeAllocator(void* addr, u64 size);
14nn::mem::StandardAllocator* GetAllocator();
15
16namespace detail {
17void* DefaultAllocatorForThreadLocal(u64, u64);
18void* DefaultDeallocatorForThreadLocal(void*, u64);
19} // namespace detail
20} // namespace init
21} // namespace nn
22