Hi Florian!
Now it works as expected. Thanks!
Em dom., 16 de fev. de 2020 às 18:32, Florian Klämpfl <
flor...@freepascal.org> escreveu:
> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
> > defined. I've run into this discrep
About windows CE?
Em Seg, 17 de fev de 2020 17:12, Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:
> On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
> wrote:
>
> >I'll test it tomorrow.
> >
> >Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl
> >escr
On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
wrote:
>I'll test it tomorrow.
>
>Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl
>escreveu:
>
>> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
>> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
>> > de
I'll test it tomorrow.
Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl
escreveu:
> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
> > defined. I've run into this discrepancy before on ARM at work
>
> I have fixed it meanwhi
Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
Agreed, the rtl should definitely divide by pagesize if MMAP2 is
defined. I've run into this discrepancy before on ARM at work
I have fixed it meanwhile.
___
fpc-pascal maillist - fpc-pascal@lists.fr
Agreed, the rtl should definitely divide by pagesize if MMAP2 is defined. I've run into this discrepancy before on ARM at work Original message From: Jonas Maebe Date: Sat, 1 Feb 2020, 17:46To: Fabio Luis Girardi via fpc-pascal Subject: Re: [fpc-pascal] fpmmap arm-linux issueOn 31/
Ok. I'll fill out a bug report.
Em Sáb, 1 de fev de 2020 13:47, Jonas Maebe escreveu:
> On 31/01/2020 22:17, Fabio Luis Girardi via fpc-pascal wrote:
> > In C:
> >
> > CM_BaseAddr = mmap(NULL, 0x4000, PROT_READ | PROT_WRITE,
> > MAP_SHARED, devmemfd, *0x44e0*);
> >
> > to get the "s
On 31/01/2020 22:17, Fabio Luis Girardi via fpc-pascal wrote:
> In C:
>
> CM_BaseAddr = mmap(NULL, 0x4000, PROT_READ | PROT_WRITE,
> MAP_SHARED, devmemfd, *0x44e0*);
>
> to get the "same" code working in FPC I have to change some constants.
>
> CM_BaseAddr := Fpmmap
Hi all!
I'm porting a program written in C that uses mmap (fpmmap) that maps GPIOs
and other utilities on a beaglebone. Everything is going well, until the
test, where I see the all base address of beaglebone in FPC should be
divided by 4096 dec ($1000 hex) to get it working. Example:
In C:
CM_