From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 0/2] riscv: simply longjmp()
Date: Sun, 21 Mar 2021 11:19:45 +0100 [thread overview]
Message-ID: <20210321101947.54746-1-xypron.glpk@gmx.de> (raw)
The implementation of longjmp() is simplified.
A unit test for longjmp() is provided.
For testing use
CONFIG_UNIT_TEST=y
CONFIG_CMD_SETEXPR=n
and execute
ut lib
Heinrich Schuchardt (2):
riscv: simply longjmp
test: unit test for longjmp
arch/riscv/lib/setjmp.S | 8 ++------
test/lib/Makefile | 1 +
test/lib/longjmp.c | 45 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+), 6 deletions(-)
create mode 100644 test/lib/longjmp.c
--
2.30.2
next reply other threads:[~2021-03-21 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 10:19 Heinrich Schuchardt [this message]
2021-03-21 10:19 ` [PATCH 1/2] riscv: simply longjmp Heinrich Schuchardt
2021-03-22 4:56 ` Sean Anderson
2021-03-22 10:03 ` Heinrich Schuchardt
2021-03-21 10:19 ` [PATCH 2/2] test: unit test for longjmp Heinrich Schuchardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210321101947.54746-1-xypron.glpk@gmx.de \
--to=xypron.glpk@gmx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.