Kevin Lawton wrote: > > Ulrich Weigand wrote: > > > > Hello, > > > > as promised, this adds an mmap() operation to the freemware > > device driver, which allows the user process to map the > > guest physical memory image into its address space. > > > > Furthermore, I've activated memory allocation and deallocation > > (and fixed a bug in unalloc_vm_pages() :-/). > > > > The user mode program now performs the mmap() and accesses > > the memory (no real action yet, just testing ...). > > > > (Note that this is tested only on 2.0.36, so I'm not sure > > whether it still works on 2.2.x ...) > > Outstanding dude! I'll give this a whirl on my 2.2.x > machine in a while. It doesn't compile on 2.2.x. I fixed it up so that it does, I'll distribute that with the rest of the code cleanup this weekend. PS, your IRQ16 thing didn't work either -- unlike in the 2.0 series, thr 2.2 series uses multiple IPI vectors for different events (rescheduler, tlb reload, etc.) I fixed that too. Ramon
