<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 13, 2019, 2:41 AM RTEMS trac <<a href="mailto:trac@rtems.org">trac@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#3685: Add large memory support to libdl<br>
-------------------------+--------------------------<br>
 Reporter:  Chris Johns  |       Owner:  Chris Johns<br>
     Type:  defect       |      Status:  assigned<br>
 Priority:  normal       |   Milestone:  5.1<br>
Component:  lib/dl       |     Version:  5<br>
 Severity:  normal       |  Resolution:<br>
 Keywords:               |  Blocked By:<br>
 Blocking:               |<br>
-------------------------+--------------------------<br>
<br>
Comment (by Sebastian Huber):<br>
<br>
 Increasing the RAM size to 256MiB (0x10000000) on PSIM breaks also the<br>
 shared memory support:<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 {{{<br>
 typedef struct {<br>
   /* 0x0c000000 - 0x0c007FFF - AMD 29F040 */<br>
   volatile uint8_t Flash[ 512 * 1024 ];<br>
<br>
   /* 0x0c080000 - 0x0c0FFFFF - NVRAM/NVRAM */<br>
   volatile uint8_t nvram[ 512 * 1024 ];<br>
<br>
   /* 0x0c100000 - 0x0c100007 - NVRAM/RTC */<br>
   psim_rtc_t RTC;<br>
<br>
   /* 0x0c100008 - 0x0c10000F - NVRAM/RTC */<br>
   uint8_t gap1[8];<br>
<br>
   /* 0x0c100010 - 0x0c10001b - System V IPC Semaphore */<br>
   psim_sysv_sem_t Semaphore;<br>
<br>
   /* 0x0c10001c - 0x0c10001f - NVRAM/RTC */<br>
   uint8_t gap2[4];<br>
<br>
   /* 0x0c100020 - 0x0c10005F - Ethernet */<br>
   volatile uint8_t Ethtap[ 64 ];<br>
<br>
   /* 0x0c100060 - 0x0c10FFFF - NVRAM/RTC */<br>
   uint8_t gap3[65440];<br>
<br>
   /* 0x0c110000 - 0x0c12FFFF - System V IPC Shared Memory */<br>
   uint8_t SharedMemory[ 128 * 1024 ];<br>
<br>
   /* 0x0c130000 - 0x0c170000 - OpenPIC IRQ Controller */<br>
   volatile uint8_t OpenPIC[ 256 * 1024 ];<br>
<br>
 } psim_registers_t;<br>
 }}}<br>
<br>
 I suggest to revert this change.<br>
<br>
--<br>
Ticket URL: <<a href="http://devel.rtems.org/ticket/3685#comment:7" rel="noreferrer noreferrer" target="_blank">http://devel.rtems.org/ticket/3685#comment:7</a>><br>
RTEMS Project <<a href="http://www.rtems.org/" rel="noreferrer noreferrer" target="_blank">http://www.rtems.org/</a>><br>
RTEMS Project<br>
_______________________________________________<br>
bugs mailing list<br>
<a href="mailto:bugs@rtems.org" target="_blank" rel="noreferrer">bugs@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/bugs" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/bugs</a></blockquote></div></div></div>