Discussion:
Converting user address to kernel address
(too old to reply)
cs412050
2005-02-22 05:00:59 UTC
Permalink
The type of user space is (ulong_t).
And the type of kernel space is usually (void *).
ulong_t is lvalue type, and void* is rvalue type.

How do we assign?
cs412050
2005-02-22 05:37:49 UTC
Permalink
cs412050 <***@squeamish.csic.umd.edu> wrote:


Duh! It was simply, (void *)(lv1 + lv2);
I was too cautious and stupid.
Post by cs412050
The type of user space is (ulong_t).
And the type of kernel space is usually (void *).
ulong_t is lvalue type, and void* is rvalue type.
How do we assign?
Loading...