On 2019-11-19 16:32, Konstantin Belousov wrote: > +_Static_assert(nitems(gdt_segs) == NGDT, "Stale NGDT"); Why are you not using the CTASSERT() macro? Is _Static_assert() portable? --HPS