Running on bare hardware
Enrico Weigelt
weigelt at metux.de
Sun Feb 20 13:23:18 PST 2011
* Dave Airlie <airlied at gmail.com> schrieb:
> The proper way is to design ioctls so compat layers aren't needed, to work
> across all 32/64 combos, so that means using 64-bit aligned types as much
> as possible, and padding to make sure 64-bit types don't end up unaligned.
Until, in several years, pointers get larger than 64bit ;-p
Actually, I still didn't get the point why such simple things
have to be ioctl()s (which are unportable and and local-only
by design). Why not just using plain file operations ?
(eg. getting the version info could be as simple as someting like:
`cat /dev/dri/version`)
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt at metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the wayland-devel
mailing list