mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
In order to pass along arguments like the framebuffer, it's far simpler to have that data stored along with the modules than mapping new pages for every structure. Also now optionally pass a module's data to a driver as init starts it.
17 lines
339 B
C++
17 lines
339 B
C++
#pragma once
|
|
/// \file modules.h
|
|
/// Routines for loading initial argument modules
|
|
|
|
#include <vector>
|
|
|
|
#include <bootproto/init.h>
|
|
#include <j6/types.h>
|
|
#include <util/pointers.h>
|
|
|
|
void
|
|
load_modules(
|
|
uintptr_t address,
|
|
j6_handle_t system,
|
|
j6_handle_t self,
|
|
std::vector<const bootproto::module *> &modules);
|