This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 922f9509674 boards/x86_64/intel64/qemu-intel64: register TMPFS
922f9509674 is described below
commit 922f9509674c83451859d847b75bf9819bd391b0
Author: raiden00pl <[email protected]>
AuthorDate: Fri Oct 31 12:08:53 2025 +0100
boards/x86_64/intel64/qemu-intel64: register TMPFS
register TMPFS for qemu-intel64
Signed-off-by: raiden00pl <[email protected]>
---
boards/x86_64/intel64/qemu-intel64/src/qemu_bringup.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/boards/x86_64/intel64/qemu-intel64/src/qemu_bringup.c
b/boards/x86_64/intel64/qemu-intel64/src/qemu_bringup.c
index 07f71275c4f..b0ea8817542 100644
--- a/boards/x86_64/intel64/qemu-intel64/src/qemu_bringup.c
+++ b/boards/x86_64/intel64/qemu-intel64/src/qemu_bringup.c
@@ -93,6 +93,17 @@ int qemu_bringup(void)
}
#endif
+#ifdef CONFIG_FS_TMPFS
+ /* Mount the tmpfs file system */
+
+ ret = nx_mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
+ if (ret < 0)
+ {
+ syslog(LOG_ERR, "ERROR: Failed to mount tmpfs at %s: %d\n",
+ CONFIG_LIBC_TMPDIR, ret);
+ }
+#endif
+
#ifdef CONFIG_ONESHOT
os = oneshot_initialize(ONESHOT_TIMER, 10);
if (os)