[PR #83] [CLOSED] Semihost SYS_READC implementation #145

Open
opened 2026-01-31 21:29:58 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/83
Author: @keith-packard
Created: 10/22/2019
Status: Closed

Base: masterHead: semihost-readc


📝 Commits (1)

  • a57271c Semihost SYS_READC implementation (v5)

📊 Changes

7 files changed (+119 additions, -2 deletions)

View changed files

📝 hw/semihosting/console.c (+72 -0)
📝 include/hw/semihosting/console.h (+12 -0)
📝 include/hw/semihosting/semihost.h (+4 -0)
📝 linux-user/arm/semihost.c (+23 -0)
📝 stubs/semihost.c (+4 -0)
📝 target/arm/arm-semi.c (+1 -2)
📝 vl.c (+3 -0)

📄 Description

Provides a blocking call to read a character from the console by hooking
into the console input chain. This happens after any uart has hooked in,
so specifying -semihost overrides input to any emulated uarts.

Signed-off-by: Keith Packard keithp@keithp.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/83 **Author:** [@keith-packard](https://github.com/keith-packard) **Created:** 10/22/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `semihost-readc` --- ### 📝 Commits (1) - [`a57271c`](https://github.com/qemu/qemu/commit/a57271c565b2e62fbaa89ed330b8bf0a0d503ea3) Semihost SYS_READC implementation (v5) ### 📊 Changes **7 files changed** (+119 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `hw/semihosting/console.c` (+72 -0) 📝 `include/hw/semihosting/console.h` (+12 -0) 📝 `include/hw/semihosting/semihost.h` (+4 -0) 📝 `linux-user/arm/semihost.c` (+23 -0) 📝 `stubs/semihost.c` (+4 -0) 📝 `target/arm/arm-semi.c` (+1 -2) 📝 `vl.c` (+3 -0) </details> ### 📄 Description Provides a blocking call to read a character from the console by hooking into the console input chain. This happens *after* any uart has hooked in, so specifying -semihost overrides input to any emulated uarts. Signed-off-by: Keith Packard <keithp@keithp.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:29:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#145