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

Joel Sherrill joel at rtems.org
Fri Dec 13 13:04:49 UTC 2019


On Fri, Dec 13, 2019, 2:41 AM RTEMS trac <trac at rtems.org> wrote:

> #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):
>
>  Increasing the RAM size to 256MiB (0x10000000) on PSIM breaks also the
>  shared memory support:
>

Assuming this is the shm device which maps in host system IPC, can't we
just change the base address of that and the lock device?

>
>  {{{
>  typedef struct {
>    /* 0x0c000000 - 0x0c007FFF - AMD 29F040 */
>    volatile uint8_t Flash[ 512 * 1024 ];
>
>    /* 0x0c080000 - 0x0c0FFFFF - NVRAM/NVRAM */
>    volatile uint8_t nvram[ 512 * 1024 ];
>
>    /* 0x0c100000 - 0x0c100007 - NVRAM/RTC */
>    psim_rtc_t RTC;
>
>    /* 0x0c100008 - 0x0c10000F - NVRAM/RTC */
>    uint8_t gap1[8];
>
>    /* 0x0c100010 - 0x0c10001b - System V IPC Semaphore */
>    psim_sysv_sem_t Semaphore;
>
>    /* 0x0c10001c - 0x0c10001f - NVRAM/RTC */
>    uint8_t gap2[4];
>
>    /* 0x0c100020 - 0x0c10005F - Ethernet */
>    volatile uint8_t Ethtap[ 64 ];
>
>    /* 0x0c100060 - 0x0c10FFFF - NVRAM/RTC */
>    uint8_t gap3[65440];
>
>    /* 0x0c110000 - 0x0c12FFFF - System V IPC Shared Memory */
>    uint8_t SharedMemory[ 128 * 1024 ];
>
>    /* 0x0c130000 - 0x0c170000 - OpenPIC IRQ Controller */
>    volatile uint8_t OpenPIC[ 256 * 1024 ];
>
>  } psim_registers_t;
>  }}}
>
>  I suggest to revert this change.
>
> --
> Ticket URL: <http://devel.rtems.org/ticket/3685#comment:7>
> RTEMS Project <http://www.rtems.org/>
> RTEMS Project
> _______________________________________________
> bugs mailing list
> bugs at rtems.org
> http://lists.rtems.org/mailman/listinfo/bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20191213/5af9e6d6/attachment.html>


More information about the bugs mailing list