Search results

  1. F

    More documentation on mmap_single

    Hi, I went through some other drivers and found the required implementation. Now I set a page fault handler, ctor and dtor in mmap_single calls and works well. However, when I was going through the BSD code, one of the thing I failed to understand was: why BSD chose not to provide the context...
  2. F

    More documentation on mmap_single

    Hey thanks, I used the given reference and modified it for the device allocated memory. However, one thing I realized is I still need mmap along with mmap_single; mmap method as a handle to specify the physical address of the device allocated memory. That mmap handle gets called once for every...
  3. F

    More documentation on mmap_single

    Hi, I am trying to memory-map I/O-physical memory to a user process which does a mmap call.(It is my small custom driver.) However, I am not able to find sufficient documentation on memory mapping physical memory to vm_object inside mmap_single. I have implemented d_mmap and it works without...
  4. F

    Kernel and user space communication

    Hi, At the start, I wanna tell that I am not well versed with BSD internals. Now coming to the question. There is a mechanism to have communication between user space and kernel space in bsd using kqueues. However, what I have understood is, we can have pre-defined events using kqueue and...
  5. F

    gdbserver porting for x64

    Hi, I want to remotely debug an application on x64 and am using gdbserver. However, I keep seeing a SIGSEGV with an error "r_debug_state definition not found". I think r_debug_state has been optimized and compiled out by from rtld(run time link editor). I think gdbserver porting is not...
  6. F

    gdbserver not woking on ia64

    Hi, I want to remotely debug an application on x64 and am using gdbserver. However, I keep seeing a SIGSEGV with an error "r_debug_state definition not found". I think r_debug_state has been optimized and compiled out by from rtld(run time link editor). 1. Has anyone came across this...
Back
Top