I\'m currently working on a generational garbage collector. This means that only the most recent objects get traversed, surviving objects (= reachable from known roots) being promoted to the older gen
So I read this interview with John Carmack in Gamasutra, in which he talks about what he calls \"live C++ objects that live in memory mapped files\". Here are some quotes:
Suppose a 开发者_StackOverflow中文版device has one register, and the CPU has a x86-like architecture. This register is memory mapped at physical address 0x50000.
I have a str开发者_运维百科uct that I\'d like to export to a file, and then mmap() that file. One issue is that the struct has a member variable that is a string, and I\'m not sure how mmap would hand
This is my first question here :). I been trying for while now to map physical memory to virtual memory in vxWorks 6.8 with no success,
I\'m identifying parts of process\'s virtual memory using VirtualQuery. I identify regions taken by mapped files (MEM_MAPPED), but how to determine actual files (filenames) of files allocated there? I
I am looking at ways of interfacing to specific hardware I/O addresses from various Windows versions from 32-bit XP up 64-bit Win7 and beyond. There seem to be various solutions published with varying
I\'m writing a Python module in C and I intend to mmap largeish blocks of memory (perhaps 500 MB). Is there anything about working i开发者_运维技巧n the same process space as the Python interpreter th
I sometimes see statements that on some platforms the following C or C++ code: int* ptr; *ptr = 0; can result in writing to a hardware input-output po开发者_开发问答rt if ptr happens to store the a
I still have some issues with my c code that deals with an memory mapped device. At the moment I declare the address space for the registers I write as volatile