Files
jsix/src/user/srv.init/modules.h
Justin C. Miller ea587076ed [init] Go back to boot modules having inline data
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.
2023-02-10 01:01:01 -08:00

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);