haiku/headers/private/kernel/arch/x86/64
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
cpu.h kernel/x86_64: save fpu state at interrupts 2014-09-14 19:16:52 +02:00
descriptors.h haiku_loader: Fix wrong size of gBootGDT on x86_64. 2014-10-22 21:06:07 +02:00
iframe.h kernel/x86_64: save fpu state at interrupts 2014-09-14 19:16:52 +02:00