Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

_start

Signature: extern "C" void _start()
Attributes: extern "C"
Description: Dummy function to make the linker happy

Return: void

memmap_id_to_str

Signature: char* memmap_id_to_str(int id)
Description: Converts a memory map id to a string

Parameters:

Return: char*

bootinfo_dev_fs_file::bootinfo_dev_fs_file

Signature: bootinfo_dev_fs_file::bootinfo_dev_fs_file(boot_info_t* info)
Attributes: undefined
Description: Constructor for the dev fs file class

Parameters:

print_boot_info

Signature: print_boot_info(info, [](char* str)
Attributes: undefined
Description: Prints the boot information

Parameters:

bootinfo_dev_fs_file::read

Signature: void bootinfo_dev_fs_file::read(fs::file_t* file, void* buffer, size_t size, size_t offset)
Description: Reads the dev fs file

Parameters:

Return: void

bootinfo_dev_fs_file::prepare_file

Signature: void bootinfo_dev_fs_file::prepare_file(fs::file_t* file)
Description: Prepares the dev fs file

Parameters:

Return: void

bootinfo_dev_fs_file::get_name

Signature: char* bootinfo_dev_fs_file::get_name()
Description: Gets the name of the dev fs file

Return: char*

Show file on GitHub