lkml.org 
[lkml]   [2007]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcompat_ioctl (was [PATCH update] ieee1394: cycle timer read extension for raw1394/libraw1394)
I wrote on 2007-02-03:
> +#define RAW1394_IOC_GET_CYCLE_TIMER \
> + _IOR ('#', 0x30, struct raw1394_cycle_timer)
...
> +/* argument to RAW1394_IOC_GET_CYCLE_TIMER ioctl */
> +struct raw1394_cycle_timer {
> + /* contents of Isochronous Cycle Timer register,
> + as in OHCI 1.1 clause 5.13 (also with non-OHCI hosts) */
> + __u32 cycle_timer;
> +
> + /* local time in microseconds since Epoch,
> + simultaneously read with cycle timer */
> + __u64 local_time;
> +};
> #endif /* IEEE1394_RAW1394_H */

Hmm, is this struct padded on 64bit platforms?
If so, would
struct raw1394_cycle_timer {
__u64 local_time;
__u32 cycle_timer;
};
be padded too?
--
Stefan Richter
-=====-=-=== --=- -=-=-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-10 15:23    [W:0.063 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site