Re: [RFC] What are the goals for the architecture of an in-kernel IR system?

Krzysztof Halasa
2009-12-08T14:06:28Z

Mauro Carvalho Chehab <mchehab@redhat.com> writes:

> Yes, an opaque type for scancode at the userspace API can be better, but
> passing a pointer to kernel will require some compat32 logic (as pointer
> size is different on 32 and 64 bits).

Yes. I think we can't avoid that, but it's a single compat handler,
I wouldn't worry about it too much. We don't need it in every driver
fortunately.

> We may use something like an u8[] with an arbitrary large number of
> bytes.

Yes. All of this pointed to by the pointer.

> In this case, we need to take some care to avoid LSB/MSB troubles.

Sure.
--
Krzysztof Halasa