8000 qemu/main: Implement rom_ioctl. · dpgeorge/micropython@7cc96ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 7cc96ed

Browse files
committed
qemu/main: Implement rom_ioctl.
Signed-off-by: Damien George <damien@micropython.org>
1 parent e8d746c commit 7cc96ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/qemu/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,7 @@ void nlr_jump_fail(void *val) {
7777
mp_printf(&mp_plat_print, "uncaught NLR\n");
7878
exit(1);
7979
}
80+
81+
mp_obj_t mp_vfs_rom_ioctl(size_t n_args, const mp_obj_t *args) {
82+
return MP_OBJ_NEW_SMALL_INT(-MP_EINVAL);
83+
}

0 commit comments

Comments
 (0)
0