Vhex-kernel/src/kernel/fs/smemfs/filesystem/mount.c

11 lines
287 B
C

#include <kernel/fs/smemfs.h>
/* casio_smem_mount() - Get Block and Preheader Table addresses */
void *smemfs_mount(void)
{
extern struct smemfs_superblock_s smemfs_superblock;
// Return the sector table to simulate the root inode.
return ((void*)smemfs_superblock.sector_table);
}