guestfd.c (1527c6b6fa6c6775523287e33f78b41afc7ba46c) | guestfd.c (83fb360d6a60b0a77dce3d3643d1a5311a235e58) |
---|---|
1/* 2 * Hosted file support for semihosting syscalls. 3 * 4 * Copyright (c) 2005, 2007 CodeSourcery. 5 * Copyright (c) 2019 Linaro 6 * Copyright © 2020 by Keith Packard <keithp@keithp.com> 7 * 8 * SPDX-License-Identifier: GPL-2.0-or-later 9 */ 10 11#include "qemu/osdep.h" 12#include "gdbstub/syscalls.h" 13#include "semihosting/semihost.h" 14#include "semihosting/guestfd.h" | 1/* 2 * Hosted file support for semihosting syscalls. 3 * 4 * Copyright (c) 2005, 2007 CodeSourcery. 5 * Copyright (c) 2019 Linaro 6 * Copyright © 2020 by Keith Packard <keithp@keithp.com> 7 * 8 * SPDX-License-Identifier: GPL-2.0-or-later 9 */ 10 11#include "qemu/osdep.h" 12#include "gdbstub/syscalls.h" 13#include "semihosting/semihost.h" 14#include "semihosting/guestfd.h" |
15#ifdef CONFIG_USER_ONLY 16#include "qemu.h" 17#else 18#include "semihosting/uaccess.h" | 15#ifndef CONFIG_USER_ONLY |
19#include CONFIG_DEVICES 20#endif 21 22static GArray *guestfd_array; 23 24#ifdef CONFIG_ARM_COMPATIBLE_SEMIHOSTING 25GuestFD console_in_gf; 26GuestFD console_out_gf; --- 134 unchanged lines hidden --- | 16#include CONFIG_DEVICES 17#endif 18 19static GArray *guestfd_array; 20 21#ifdef CONFIG_ARM_COMPATIBLE_SEMIHOSTING 22GuestFD console_in_gf; 23GuestFD console_out_gf; --- 134 unchanged lines hidden --- |