Skip to content

Commit

Permalink
rv-virt: Add tmpfs mount points
Browse files Browse the repository at this point in the history
This commit add mount point for tmpfs in the
board_app_initialize function.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi authored and acassis committed Feb 1, 2024
1 parent e40b66b commit dce4597
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ int board_app_initialize(uintptr_t arg)

mount(NULL, "/proc", "procfs", 0, NULL);

#ifdef CONFIG_FS_TMPFS
mount(NULL, "/tmp", "tmpfs", 0, NULL);
#endif

#endif

#ifdef CONFIG_DRIVERS_VIRTIO_MMIO
Expand Down

0 comments on commit dce4597

Please sign in to comment.