[FAST486]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 2 Nov 2013 00:47:43 +0000 (00:47 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 2 Nov 2013 00:47:43 +0000 (00:47 +0000)
commitd80b788ff41ddd8b4c3d143d0eed00b70fa394cf
tree66500927163a8db77ed32375cb7f36b082c7192e
parentdcbdbb7d9f0a06a3c31f98d31d78aedd7331afa1
[FAST486]
Fix segment initialization. The cached descriptors must have valid values
during the switch to protected mode.
For some odd reason, GCC makes the FAST486_GDT_ENTRY structure 12 bytes
instead of 8 if there is a bit field with more than 16 bits, so split
the Base field into Base and BaseMid.
Add size checks below important structure declarations.

svn path=/branches/ntvdm/; revision=60825
include/reactos/libs/fast486/fast486.h
lib/fast486/common.inl
lib/fast486/fast486.c