/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Kernel { typedef void* (*ModuleInitPtr)(); typedef void* (*ModuleFiniPtr)(); struct Module { String name; NonnullOwnPtrVector sections; ModuleInitPtr module_init { nullptr }; ModuleFiniPtr module_fini { nullptr }; }; }