Search:

Type: Posts; User: shadew

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    830

    Yeah, VM_SHARED was the problem, I used...

    Yeah, VM_SHARED was the problem, I used MAP_SHARED instead and it's working now. Thanks for your help :)
  2. Replies
    4
    Views
    830

    Here are values for VM and MAP SHARED : ...

    Here are values for VM and MAP SHARED :



    #define VM_SHARED 0x00000008
    #define MAP_SHARED 0x001 /* Share changes */


    I put the VM_SHARED because it's a requirement to...
  3. Replies
    4
    Views
    830

    Kernel - Custom mmap is not called

    Hello !!
    I'm trying to use a Xen module, called GNTDEV, which provides several ioctl command and some custom functions such as mmap :

    static const struct file_operations gntdev_fops = {
    .owner...
  4. Thank you for your answers, cas found the...

    Thank you for your answers, cas found the problem. libgntring is effectively compiled with g++. I don't understand why it was working before I reinstall linux, but it's working now, that's what...
  5. Replies
    4
    Views
    1,399

    Avoid the break instruction in your if/else...

    Avoid the break instruction in your if/else blocks. Break makes you leave the loop.
  6. Replies
    4
    Views
    1,399

    It works on my computer. I Type 'B', it's asking...

    It works on my computer. I Type 'B', it's asking for fish.
  7. Linking problem : can't find symbols in a library

    Hello,

    I'm trying to compile a code using functions located in a library (libxenctrl), but ld cannot find the symbols :


    gntring3_read_async : gntring3_read_async.o
    gcc gntring3_read_async.o...
Results 1 to 7 of 7