Hello Sophie, On Thu, 2005-04-14 at 11:38 +0200, scarayol at assystembrime.com wrote: > St?phane, > > thanks for your help. > But I think that, except instruction eieio, I do similar things. You use > the virtual address returned by mmap but have you the same values if you > use write/read(axs_mem_fd,...) instead of in_8/out_8. > That is my problem : I want to be sure that when I use the virtual address > returned by mmap, I access really to the physical memory mapped area.
As the /dev/map_mc is your custom driver it should be fairly easy for you to check the parameters you pass to remap_page_range(). > Do you know a shell command in order to dump the memory and verify what I > do ? try "od" JC > ---------------------------------------------------------- > Sophie CARAYOL > > TECHNOLOGIES & SYSTEMES > 50 rue du Pr?sident Sadate > F - 29337 QUIMPER CEDEX > > T?l: +33 2 98 10 30 06 > mailto:scarayol at assystembrime.com > ---------------------------------------------------------- > > > > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded at ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded