[EMAIL PROTECTED] said:
> I am trying to mmap() into user space a kernel buffer and am having
> problems.
> I have a simple test example, can someone please tell me what I have got
> wrong ?
>
> In a driver I do:
> uint*kva;
>
> kva = (uint*)kmalloc(4096, GFP_KERNEL);
> *kva = 0
I am trying to mmap() into user space a kernel buffer and am having
problems.
I have a simple test example, can someone please tell me what I have got
wrong ?
In a driver I do:
uint*kva;
kva = (uint*)kmalloc(4096, GFP_KERNEL);
*kva = 0x11223344;
printk("Address: %p %lx %x\n"
2 matches
Mail list logo