[PATCH 1/3] spec/build/riscv: Default rv64* BSPs to medany cmodel

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 22 10:52:34 UTC 2022



On 22/12/2022 11:42, heshamelmatary at gmail.com wrote:
> From: Hesham Almatary<hesham.almatary at cl.cam.ac.uk>
> 
> Currently generic RISC-V BSPs (riscv/riscv) that start with rv64 and not
> rv64*_medany will start at 0x70000000. This adds high maintenance overhead
> and deviates from almost all other RISC-V-based OSes and baremetal programs
> that start at 0x80000000. Further, testing now has to account for an extra
> parameter (medany or not) that doubles the number of BSPs need to be
> tested.
> 
> This commit defaults all RV64 BSPs to use medany code model to allow starting
> all BSPs at 0x80000000. BSPs that require different code models and/or
> start addresses are custom and need to add their own entries.
> 
> Updates #4775

Thanks, the patch set looks good. Maybe we should also remove the 
*medany BSP variants:

spec/build/bsps/riscv/riscv/bsprv64imacmedany.yml
spec/build/bsps/riscv/riscv/bsprv64imafdcmedany.yml
spec/build/bsps/riscv/riscv/bsprv64imafdmedany.yml

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list