Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
initrd.h
Go to the documentation of this file.
1// Copyright (c) 2025 Mohammad Arfan
2
3// Permission is hereby granted, free of charge, to any person obtaining a copy
4// of this software and associated documentation files (the "Software"), to deal
5// in the Software without restriction, including without limitation the rights
6// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7// copies of the Software, and to permit persons to whom the Software is
8// furnished to do so, subject to the following conditions:
9
10// The above copyright notice and this permission notice shall be included in
11// all copies or substantial portions of the Software.
12
13// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19// SOFTWARE.
20
21#ifndef __INIT__INITRD_H__
22#define __INIT__INITRD_H__
23
24#include <type.h>
25#include <vfs/dev.h>
26#include <vfs/filesystem.h>
27#include <vfs/vfs.h>
28
33
39
40char* initrd_load(initrd_module_t module, const char* name);
41
42#endif // __INIT__INITRD_H__
kstring name
Definition dentry.h:5
struct initrd_file initrd_file_t
char * initrd_load(initrd_module_t module, const char *name)
struct initrd_module initrd_module_t
uint64_t data
Definition initrd.h:37
uint32_t size
Definition initrd.h:36
char name[100]
Definition initrd.h:35
size_t size
Definition initrd.h:30
uint64_t start
Definition initrd.h:31
unsigned int uint32_t
Definition type.h:19
unsigned long uint64_t
Definition type.h:25