Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^7: Accessing Memory-mapped I/O

by Anonymous Monk
on Nov 01, 2019 at 12:18 UTC ( [id://11108223]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Accessing Memory-mapped I/O
in thread Accessing Memory-mapped I/O

My last sentence should be: "Other processes can access addresses outside the system ram without an issue."

Replies are listed 'Best First'.
Re^8: Accessing Memory-mapped I/O
by Corion (Patriarch) on Nov 01, 2019 at 15:07 UTC

    You will have to find out whether /dev/mem supports what you want, and whether the seek call accepts offsets larger than 2GB on your system.

    If either of these fails, you will have to find a different approach than reading from /dev/mem, like using one of the mmap calls.

    If the seek function takes and understands a 64bit value, you will have to look at the output of perl -V to find out why it is not using this version of the seek call. For example if -Duselargefiles is missing in the output, that is a sure sign that your Perl was not build properly for your system.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108223]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found