[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 0/5] semihosting/next (SYS_HEAPINFO)
From: |
Alex Bennée |
Subject: |
[PATCH v5 0/5] semihosting/next (SYS_HEAPINFO) |
Date: |
Fri, 12 Mar 2021 10:20:24 +0000 |
Hi,
Change from the last version include tweaking the test to be a little
less asnprintf heavy and also don't rely on brk() to do it's job. It
also threw up a linux-user failure for RiscV which didn't have the
needed TaskState info set. The series now applies cleanly to master.
The following patches need review:
- tests/tcg: add HeapInfo checking to semihosting test
- linux-user/riscv: initialise the TaskState heap/stack info
- semihosting/arm-compat-semi: don't use SET_ARG to report SYS_HEAPINFO
- semihosting: move semihosting tests to multiarch
Alex Bennée (5):
semihosting: move semihosting tests to multiarch
semihosting/arm-compat-semi: unify GET/SET_ARG helpers
semihosting/arm-compat-semi: don't use SET_ARG to report SYS_HEAPINFO
linux-user/riscv: initialise the TaskState heap/stack info
tests/tcg: add HeapInfo checking to semihosting test
tests/tcg/aarch64/semicall.h | 18 +++++
tests/tcg/arm/semicall.h | 15 +---
tests/tcg/riscv64/semicall.h | 22 ++++++
linux-user/riscv/cpu_loop.c | 5 ++
semihosting/arm-compat-semi.c | 62 +++++++---------
tests/tcg/arm/semihosting.c | 26 -------
.../arm-compat-semi}/semiconsole.c | 2 +
.../multiarch/arm-compat-semi/semihosting.c | 71 +++++++++++++++++++
MAINTAINERS | 1 +
tests/tcg/Makefile.target | 3 +
tests/tcg/aarch64/Makefile.target | 18 -----
tests/tcg/arm/Makefile.target | 16 +----
tests/tcg/multiarch/Makefile.target | 31 ++++++++
13 files changed, 180 insertions(+), 110 deletions(-)
create mode 100644 tests/tcg/aarch64/semicall.h
create mode 100644 tests/tcg/riscv64/semicall.h
delete mode 100644 tests/tcg/arm/semihosting.c
rename tests/tcg/{arm => multiarch/arm-compat-semi}/semiconsole.c (93%)
create mode 100644 tests/tcg/multiarch/arm-compat-semi/semihosting.c
--
2.20.1
- [PATCH v5 0/5] semihosting/next (SYS_HEAPINFO),
Alex Bennée <=
[PATCH v5 3/5] semihosting/arm-compat-semi: don't use SET_ARG to report SYS_HEAPINFO, Alex Bennée, 2021/03/12
[PATCH v5 2/5] semihosting/arm-compat-semi: unify GET/SET_ARG helpers, Alex Bennée, 2021/03/12