[RTEMS Project] #4775: RISC-V: Default RV64 BSPs to medany

RTEMS trac trac at rtems.org
Fri Dec 23 09:07:52 UTC 2022


#4775: RISC-V: Default RV64 BSPs to medany
-----------------------------+---------------------
 Reporter:  Hesham Almatary  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  6.1
Component:  arch/riscv       |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+---------------------

Comment (by Hesham Almatary <hesham.almatary@…>):

 In [changeset:"dd280054903db8c356f2325934b3cbf4e3c13176/rtems"
 dd28005/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="dd280054903db8c356f2325934b3cbf4e3c13176"
 spec/build/riscv: Default rv64* BSPs to medany cmodel

 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4775#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list