On Sun, Jul 26, 2020 at 9:12 PM Hesham Almatary < hesham.almat...@cl.cam.ac.uk> wrote:
> > > On Sun, Jul 26, 2020 at 2:04 PM Utkarsh Rai <utkarsh.ra...@gmail.com> > wrote: > >> Hello, >> I was facing issues while changing the memory entries for a section. The >> thread can be viewed here >> <https://lists.rtems.org/pipermail/devel/2020-July/060884.html>. The >> error is most probably due to the fact that while I change the memory entry >> of my desired region it ends up changing the memory permission of the >> entire 1Mb section, which causes fatal errors. >> To prevent this, I decided to set up translation table entries in >> small-page format. >> > To do so, you need multi-level page tables for 4K pages. I doubt you’ve > added support to do so. > > I agree I am having trouble while setting up the 4K pages statically. > You also want to make sure that your block of memory isn’t already part of > an ELF section that is already statically mapped at boot time. > > Ok, I will take care of that. > Unfortunately, during the static initialization of the translation table, >> the qemu hangs up (I am using Xilinx-zynq BSP). On stepping through the >> debugger I encounter a segmentation fault. >> Can someone please point me in the right direction? This is the final >> issue that I have to resolve before I send my patches. >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel