Go to the documentation of this file.
18 #ifndef __LIB_LIBFS_BOOTIMAGESTORAGE_H
19 #define __LIB_LIBFS_BOOTIMAGESTORAGE_H
virtual FileSystem::Result read(const u64 offset, void *buffer, const Size size) const
Reads data from the boot image.
Uses a BootImage as a storage provider.
virtual u64 capacity() const
Retrieve maximum storage capacity.
const BootImage bootImage() const
Get BootImage header.
unsigned long long u64
Unsigned 64-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
virtual FileSystem::Result initialize()
Initialize the Storage device.
const BootImage * m_image
Pointer to the BootImage.
Result
Result code for filesystem Actions.
BootImageStorage(const BootImage *image=ZERO)
Constructor function.
BootImage contains executable programs to be loaded at system bootup.
Provides a storage device to build filesystems on top.
const BootImage * load() const
Loads the BootImage into virtual memory.