haiku/headers/private/kernel/arch/x86/32
Michael Lotz e9922e775f haiku_loader: Fix wrong size of gBootGDT on x86_64.
The BOOT_GDT_SEGMENT_COUNT was based on USER_DATA_SEGMENT on both
x86 and x86_64. However, on x86_64 the order of the segments is
different, leading to a too small gBootGDT array. Move the define to
the arch specific headers so they can be setup correctly in either case.
Also add a STATIC_ASSERT() to check that the descriptors fit into the
array.

Pointed out by CID 1210898.
2014-10-22 21:06:07 +02:00
..
atomic.h os/support: implement atomic_*() using GCC builtin helpers 2014-08-25 23:05:07 +02:00
descriptors.h haiku_loader: Fix wrong size of gBootGDT on x86_64. 2014-10-22 21:06:07 +02:00
iframe.h x86: Let each CPU have its own GDT 2013-12-17 03:57:20 +01:00