Added SimpleFS read support
This commit is contained in:
parent
758d681005
commit
4ec95a6a52
8 changed files with 174 additions and 107 deletions
28
boot/platform/uefi/mount.c
Normal file
28
boot/platform/uefi/mount.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*********************************************************************************/
|
||||
/* Module Name: mount.c */
|
||||
/* Project: AurixOS */
|
||||
/* */
|
||||
/* Copyright (c) 2024-2025 Jozef Nagy */
|
||||
/* */
|
||||
/* This source is subject to the MIT License. */
|
||||
/* See License.txt in the root of this repository. */
|
||||
/* All other rights reserved. */
|
||||
/* */
|
||||
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */
|
||||
/* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, */
|
||||
/* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE */
|
||||
/* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER */
|
||||
/* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, */
|
||||
/* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */
|
||||
/* SOFTWARE. */
|
||||
/*********************************************************************************/
|
||||
|
||||
#include <vfs/vfs.h>
|
||||
#include <fs/uefi_sfs.h>
|
||||
#include <efi.h>
|
||||
#include <efilib.h>
|
||||
|
||||
struct vfs_drive *mount_boot_volume(char *mountpoint)
|
||||
{
|
||||
return sfs_init(mountpoint);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue