|
|
|
Re: [PATCH] [RFC] videodev2.h: ARM's old ABI support on EABI kernels | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Thu, 13 Apr 2006, Samuel Ortiz wrote:
> ARM's EABI defines sizeof(enum) as 1 byte, and an EABI kernel is supposed to be able to support old ABI userspace calls.
Does this mean the EABI doesn't support an enum with values > 255? Seems like
very limiting ABI.
If the ABI really is that enums are only large enough for their maximum
values, you could modify the enums like this:
enum v4l2_something {
V4L_FOO,
V4L_BAR,
V4L_BAZ,
+ _LAST = 0xffffffff
}
The final value is large enough that the enum needs 32 bits.
--
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[Linux Media] [Older V4L] [Linux DVB] [Video Disk Recorder] [Linux Kernel] [Asterisk] [Photo] [DCCP] [Netdev] [Xorg] [Util Linux NG] [Xfree86] [Free Photo Albums] [Fedora Users] [Fedora Women] [ALSA Users] [ALSA Devel] [SSH] [DVB Maintainers] [Linux USB] [Yosemite Information]
![]() |
![]() |