[RTEMS Project] #3685: Add large memory support to libdl

RTEMS trac trac at rtems.org
Fri Dec 13 08:33:02 UTC 2019


#3685: Add large memory support to libdl
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  5.1
Component:  lib/dl       |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Sebastian Huber):

 [changeset:"b08278e8520d14e5b809bb07785b724c7a127e29/rtems" b08278e/rtems]
 leads to the following run-time error on PSIM:

 {{{
 BATs must not overlap; area 0x08000000..0x09000000 hits DBAT 0
 BATs must not overlap; area 0x0c000000..0x0d000000 hits DBAT 0
 }}}

 The RAM overlaps with the PCI area:
 {{{
   /*
    * Setup BATs and enable MMU
    */
   /* Memory */
   setdbat(0, 0x0<<28, 0x0<<28, 1<<28, _PAGE_RW);
   setibat(0, 0x0<<28, 0x0<<28, 1<<28,        0);
   /* PCI    */
   setdbat(1, 0x8<<24, 0x8<<24, 1<<24,  IO_PAGE);
   setdbat(2, 0xc<<24, 0xc<<24, 1<<24,  IO_PAGE);
 }}}

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


More information about the bugs mailing list