16 lines
352 B
C
16 lines
352 B
C
// SPDX-License-Identifier: ISC
|
|
|
|
#pragma once
|
|
|
|
#include <zinnia/errno.h>
|
|
#include <zinnia/vfs.h>
|
|
#include <stddef.h>
|
|
|
|
struct boot_info;
|
|
|
|
bool initramfs_is_valid(const void* data, size_t len);
|
|
|
|
errno_t initramfs_load(struct vfs_path root, struct vfs_path target, const void* data, size_t len);
|
|
|
|
void initramfs_load_boot_modules(struct boot_info* info);
|