Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to access a memory-mapped register outside of system ram. I am opening /dev/mem to do so. When using seek, I only get access to the address space of the system ram. Using an address above that limit gives me a "Bad address" error.
Doing a similar operation in 'C' allows access to addresses above that limitation. Why does perl limit my access? Is there anyway around the limitation?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing Memory-mapped I/O
by stevieb (Canon) on Oct 31, 2019 at 15:56 UTC | |
by Anonymous Monk on Oct 31, 2019 at 16:39 UTC | |
by Corion (Patriarch) on Oct 31, 2019 at 17:32 UTC | |
by Anonymous Monk on Oct 31, 2019 at 17:38 UTC | |
by stevieb (Canon) on Oct 31, 2019 at 20:11 UTC | |
| |
|
Re: Accessing Memory-mapped I/O
by jdmonk (Initiate) on Nov 04, 2019 at 19:29 UTC | |
|
Re: Accessing Memory-mapped I/O
by jcb (Parson) on Nov 04, 2019 at 01:32 UTC | |
by jdmonk (Initiate) on Nov 04, 2019 at 19:25 UTC | |
|
Re: Accessing Memory-mapped I/O
by Anonymous Monk on Nov 01, 2019 at 13:23 UTC |