/openbmc/qemu/semihosting/ |
H A D | config.c | 63 static SemihostingConfig semihosting; variable 68 return semihosting.enabled && (!is_user || semihosting.userspace_enabled); in semihosting_enabled() 73 return semihosting.target; in semihosting_get_target() 78 if (i >= semihosting.argc) { in semihosting_get_arg() 81 return semihosting.argv[i]; in semihosting_get_arg() 86 return semihosting.argc; in semihosting_get_argc() 91 if (semihosting.cmdline == NULL && semihosting.argc > 0) { in semihosting_get_cmdline() 92 semihosting.cmdline = g_strjoinv(" ", (gchar **)semihosting.argv); in semihosting_get_cmdline() 94 return semihosting.cmdline; in semihosting_get_cmdline() 119 add_semihosting_arg(&semihosting, "arg", file, NULL); in semihosting_arg_fallback() [all …]
|
/openbmc/qemu/tests/tcg/arm/ |
H A D | Makefile.target | 45 semihosting: CFLAGS += -mthumb 47 ARM_TESTS += semihosting-arm 48 semihosting-arm: CFLAGS += -marm -I$(SRC_PATH)/tests/tcg/$(TARGET_NAME) 49 semihosting-arm: semihosting.c 52 run-semihosting-arm: semihosting-arm 60 semiconsole-arm: semihosting.c
|
H A D | Makefile.softmmu-target | 19 run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M micr… 49 QEMU_OPTS+=$(QEMU_BASE_MACHINE) -semihosting-config enable=on,target=native,chardev=output -kernel 52 QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config enable=on,chardev=st…
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/files/ |
H A D | 0001-Allow-configuring-flash-image-files-compile-time.patch | 15 .../block_storage/factory/semihosting/block_store_factory.c | 6 +++++- 16 .../block_storage/factory/semihosting/component.cmake | 6 +++++- 58 …s/service/block_storage/factory/semihosting/block_store_factory.c b/components/service/block_stora… 60 --- a/components/service/block_storage/factory/semihosting/block_store_factory.c 61 +++ b/components/service/block_storage/factory/semihosting/block_store_factory.c 82 …ents/service/block_storage/factory/semihosting/component.cmake b/components/service/block_storage/… 84 --- a/components/service/block_storage/factory/semihosting/component.cmake 85 +++ b/components/service/block_storage/factory/semihosting/component.cmake 96 +message(status "Block storage semihosting image file PATH is ${SEMIHOSTING_BLK_FILE_NAME}")
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | Makefile.target | 154 semihosting: CFLAGS+=-I$(SRC_PATH)/tests/tcg/$(TARGET_NAME) 156 run-semihosting: semihosting 159 run-plugin-semihosting-with-%: 173 TESTS += semihosting semiconsole
|
/openbmc/u-boot/doc/ |
H A D | README.semihosting | 11 For developing on armv8 virtual fastmodel platforms, semihosting is a 26 semihosting calls to the existing one, enabled with CONFIG_SEMIHOSTING 32 The semihosting code adds a command:
|
/openbmc/openbmc/poky/meta/recipes-core/picolibc/ |
H A D | picolibc-helloworld_git.bb | 13 # Use semihosting to test via QEMU 14 QB_OPT_APPEND:append = " -semihosting-config enable=on"
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_privileged.c.inc | 38 * The RISC-V semihosting spec specifies the following 39 * three-instruction sequence to flag a semihosting call: 46 * here to signify a semihosting exception, rather than a breakpoint.
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 103 semihosting calls to be passed to the host system or via the 106 Generally semihosting makes it easier to bring up low level code before a 111 number of compiler suites as well as QEMU itself use semihosting calls 115 instructions to trigger a semihosting call are typically reserved 120 the guest and the host. As a result a program using semihosting can 121 happily trash your host system. Some semihosting calls (e.g. 123 ever run trusted code with semihosting enabled. 130 semihosting console is configured as a ``chardev`` so can be 137 Most targets offer similar semihosting implementations with some 139 semihosting call and which registers hold the parameters. They tend to [all …]
|
/openbmc/qemu/ |
H A D | Kconfig | 6 source semihosting/Kconfig
|
H A D | qemu-options.hx | 5004 DEF("semihosting", 0, QEMU_OPTION_semihosting, 5005 "-semihosting semihosting mode\n", 5009 ``-semihosting`` 5016 See the -semihosting-config option documentation for further 5019 DEF("semihosting-config", HAS_ARG, QEMU_OPTION_semihosting_config, 5020 …"-semihosting-config [enable=on|off][,target=native|gdb|auto][,chardev=id][,userspace=on|off][,arg… 5021 " semihosting configuration\n", 5025 ``-semihosting-config [enable=on|off][,target=native|gdb|auto][,chardev=id][,userspace=on|off][,arg… 5034 Defines where the semihosting calls will be addressed, to QEMU 5043 Allows code running in guest userspace to access the semihosting [all …]
|
H A D | MAINTAINERS | 4076 F: semihosting/ 4077 F: include/semihosting/
|
H A D | meson.build | 3780 subdir('semihosting') subdir
|
/openbmc/qemu/target/mips/tcg/sysemu/ |
H A D | meson.build | 8 if_false: files('semihosting-stub.c')
|
/openbmc/qemu/tests/tcg/riscv64/ |
H A D | Makefile.softmmu-target | 17 QEMU_OPTS += -M virt -display none -semihosting -device loader,file=
|
/openbmc/qemu/target/m68k/ |
H A D | meson.build | 18 if_false: files('semihosting-stub.c')
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | Makefile.softmmu-target | 57 QEMU_BASE_ARGS=-semihosting-config enable=on,target=native,chardev=output 61 QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config enable=on,chardev=st…
|
/openbmc/qemu/docs/system/ |
H A D | target-xtensa.rst | 19 - Console and filesystem access via semihosting calls
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | Makefile.softmmu-target | 19 QEMU_OPTS+=-M sim -cpu $(CORE) -nographic -semihosting -icount 6 $(EXTFLAGS) -kernel
|
/openbmc/qemu/include/semihosting/ |
H A D | uaccess.h | 14 #error Cannot include semihosting/uaccess.h from user emulation
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | Makefile | 44 obj-$(CONFIG_SEMIHOSTING) += semihosting.o
|
/openbmc/linux/arch/arm/ |
H A D | Kconfig.debug | 1362 bool "Kernel low-level debug output via semihosting I/O" 1367 semihosting enabled for the special svc call to be trapped 1372 that implements semihosting. 1374 For more details about semihosting, please see
|
/openbmc/u-boot/arch/arm/ |
H A D | Kconfig | 330 bool "support boot from semihosting" 332 In emulated environments, semihosting is a way for
|
/openbmc/linux/arch/xtensa/ |
H A D | Kconfig | 480 Choose semihosting interface that will be used for serial port,
|
/openbmc/linux/drivers/tty/serial/ |
H A D | Kconfig | 77 bool "Early console using Arm compatible semihosting" 83 Support for early debug console using Arm compatible semihosting.
|