memory-mapping
Memory page write detection on Windows & Linux
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[详细]
2023-04-12 00:57 分类:问答"live C++ objects that live in memory mapped files"?
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:[详细]
2023-03-30 05:11 分类:问答When the processor accesses a memory mapped register, is it actually accessing the device
Suppose a 开发者_StackOverflow中文版device has one register, and the CPU has a x86-like architecture. This register is memory mapped at physical address 0x50000.[详细]
2023-03-18 20:38 分类:问答How to export a struct to a file, and then memory map the file?
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[详细]
2023-03-03 12:48 分类:问答vxWorks 6.8 mapping physical to virtual memory
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,[详细]
2023-02-13 23:45 分类:问答Identifying memory-mapped files
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[详细]
2023-02-11 22:31 分类:问答Looking for an explanation of kernel driver I/O interface capability
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[详细]
2023-02-07 15:47 分类:问答mmapping in Python C modules - any pitfalls to be aware of?
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[详细]
2023-01-31 20:07 分类:问答What real platforms map hardware ports to memory addresses?
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[详细]
2023-01-29 00:12 分类:问答Further question with memory mapped interface
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[详细]
2023-01-25 07:37 分类:问答