On Fri, Oct 12, 2018 at 10:52:51AM +0530, tbhar...@codeaurora.org wrote:
> (in 64 bit userspace long is 32-bit)
Not on Linux.
$ cat /tmp/c.c
int main(void)
{
return sizeof(long);
}
$ gcc /tmp/c.c
$ ./a.out; echo $?
8
$ file ./a.out
./a.out: ELF 64-bit LSB pie executable, 64-bit PowerPC or
-ker...@vger.kernel.org; linux-media@vger.kernel.org
Subject: Re: question about V4L2_MEMORY_USERPTR on 64bit applications
sorry for wrong question, I really meet memory address truncated issue, when
use V4L2 kernel APIs.
in a kernel thread created by kernel_thread() I vm_mmap a shmem_file to
ng Ning写道:
> Hi,
>
> I have question about V4L2_MEMORY_USERPTR on 64bit applications.
>
> struct v4l2_buffer {
> __u32 index;
> __u32 type;
> __u32 bytesused;
> __u32 fl
gt; Hi,
>
> I have question about V4L2_MEMORY_USERPTR on 64bit applications.
>
> struct v4l2_buffer {
> __u32 index;
> __u32 type;
> __u32 bytesused;
> __u32 flags;
>
Hi,
I have question about V4L2_MEMORY_USERPTR on 64bit applications.
struct v4l2_buffer {
__u32 index;
__u32 type;
__u32 bytesused;
__u32 flags;
__u32 field
Hi Hans-Petter,
On Monday 02 July 2012 21:07:56 Hans Petter Selasky wrote:
> Hi Laurent and Sakari,
>
> For the sake of the matter, here is the driver in question:
> http://www.freshports.org/multimedia/webcamd/
>
> Under native-Linux (kernel mode):
>
> I've looked at the linux-media code a bit
> > On Fri, Mar 23, 2012 at 08:19:45AM +0100, Hans Petter Selasky wrote:
> > > Hi,
> > >
> > > I have a question about V4L2_MEMORY_USERPTR:
> > >
> > > From which context are the kernel's "copy_to_user()" functions called
> > >
On Sunday 01 July 2012 17:00:58 Sakari Ailus wrote:
> On Fri, Mar 23, 2012 at 08:19:45AM +0100, Hans Petter Selasky wrote:
> > Hi,
> >
> > I have a question about V4L2_MEMORY_USERPTR:
> >
> > From which context are the kernel's "copy_to_
Hi Hans,
On Fri, Mar 23, 2012 at 08:19:45AM +0100, Hans Petter Selasky wrote:
> Hi,
>
> I have a question about V4L2_MEMORY_USERPTR:
>
> From which context are the kernel's "copy_to_user()" functions called in
> relation to V4L2_MEMORY_USERPTR ? Can this be a
Hi,
I have a question about V4L2_MEMORY_USERPTR:
>From which context are the kernel's "copy_to_user()" functions called in
relation to V4L2_MEMORY_USERPTR ? Can this be a USB callback function or is it
only syscalls, like read/write/ioctl that are allowed to call "
10 matches
Mail list logo