mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-04 22:58:44 +00:00
setup os_init() for manually starting up os_context
This commit is contained in:
@@ -482,3 +482,17 @@ MD_API OS_Guid os_make_guid(void);
|
||||
#if BUILD_ENTRY_DEFINING_UNIT
|
||||
void entry_point(CmdLine* cmdline);
|
||||
#endif
|
||||
|
||||
////////////////////////////////
|
||||
//~ Ed: Manual OS Bootstrap (Implemented Per-OS)
|
||||
|
||||
typedef struct OS_Context OS_Context;
|
||||
struct OS_Context
|
||||
{
|
||||
Arena* state_arena;
|
||||
Arena* entity_arena;
|
||||
B32 enable_large_pages;
|
||||
};
|
||||
|
||||
// OS layer initialization
|
||||
MD_API void os_init(OS_Context* ctx, TCTX* thread_ctx);
|
||||
|
||||
Reference in New Issue
Block a user