Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Basically the posts here not with standing:
The answer is NO. Perl cannot access an absolute physical memory address.
In "C" there are ways to "map" a piece of physical memory to an array - maybe for memory mapped I/O? A user process like Perl simply cannot do it. Thats it. A user process can access its own DATA space, but this is an offset from a physical address of which the user process is completely unaware - the hardware does some magic. Since Perl is a "user" process, it cannot know and it cannot access an actual physical memory address like say, "0x000" - the OS will prevent such a thing - its just that simple. NO, Absolutely NOT! In reply to Re: How to access the contents of a specific memory address?
by Marshall
|
|