[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 5/5] xen/console: Traditional console timestamps including milliseconds



>>> On 11.03.14 at 12:32, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> As for { 0 }, it is indeed special, but even with a copy of the C spec
> to hand, I cant see where it is exactly specified.  The disassembly of
> wallclock_time() does indeed confirm that the entire structure is zeroed.

In "Initialization", one of the subclauses says "If there are fewer
initializers in a brace-enclosed list than there are elements or
members of an aggregate, or fewer characters in a string literal
used to initialize an array of known size than there are elements
in the array, the remainder of the aggregate shall be initialized
implicitly the same as objects that have static storage duration."

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.