ctypes - random access to address space
wicijowski at gmail.com
Tue Apr 14 09:54:01 CEST 2009
I am currently doing a project in which I interface to a PCI card. To
ease the prototyping, I call the API functions, which map the address
space of the card to a process memory.
I acquire the location in the process memory mapped to an address
space using card API, resulting in a c structure, containing an
integer field, being a location.
The question is, if I can create a ctypes pointer to this location. Is
that what i.e. POINTER(uint32).from_address() does?
More information about the Python-list