Hesham Almatary wrote:
> You might be confusing taking BASE[XLEN-1:2] (see Figure 3.8) with shifting
> an address by 2. RTEMS aligns _RISCV_Exception_handler to 4 bytes as per the
> specification, so you'd always end up with an address with zeros in the least
> significant 2 bits. So,
hello world,
I'm scratching my head over what may turn out to be a glitch in
Volume 2, Privileged Spec v. 20190608 RISC-V
https://github.com/riscv/riscv-isa-manual/releases/download/Ratified-IMFDQC-and-Priv-v1.11/riscv-privileged-20190608.pdf
In particular, the way RTEMS for RISCV sets the
Hello *,
I'm trying to install interrupt and trap handlers for interrupts and
traps not used by RTEMS 5 on a RISC-V32 rocket chip system.
In "Volume II: RISC-V Privileged Architectures" I found
"Table 3.6: Machine cause register (mcause) values." listing
the interrupts and traps:
Interrupt
Hello world\n
I'm observing a 256 byte input limit with RTEMS 5 on riscv that I don't know
how to overcome.
We are using the RTEMS console driver and newlib stdio.
The effect is that an fgets() appears to only accept 256 characters,
specifically if we connect via
picocom on a Linux box, we can
Hello world,
we are using a customized RV32IMAF CPU with RTEMS and need to handle interrupts.
I'm new to configuring low level things such as this and need a bit of guidance
where goes what.
I build using the RTEMS source builder.
It appears that for RISC-V a value for
The rc7 change log talks about DWARF v2 versus v4 incompatibilities:
1.3-rc7 (20191129)
- released LLVM/Clang 8.0 toolchain built on stable LLVM branch
* UT700/UT699E support with errata work-arounds
* REX support: LEON-REX backend (16-bit ISA) added
* various LEON optimizations
Hello Sebastian et al.,
> Hello Jens,
> in uni-processor configurations a lazy floating-point context switch is done
> on SPARC. You can search for SPARC_USE_LAZY_FP_SWITCH in the sources.
This appears to be the reason for the observed behavior. Looking at the
disassembled application code:
Hello, world\n
I have a question about the use of trap 4 by RTEMS on Sparc32 (leon3).
Since our app needs FP, we set the PSR[EF] bit during the boot process before
RTEMS is invoked.
Since we don't expect the fp_disabled trap (4) to occur, we install a fatal
handler for it with