From: Joshua Wise Date: Sat, 6 Dec 2008 11:09:10 +0000 (-0500) Subject: Force IDT packing with __attribute__((packed)). X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/ea82a4d139d466936e00b5963e8454f2270fc3ff?ds=inline Force IDT packing with __attribute__((packed)). --- diff --git a/aseg-paging/traps.c b/aseg-paging/traps.c index f41068f..1fc0977 100644 --- a/aseg-paging/traps.c +++ b/aseg-paging/traps.c @@ -86,7 +86,7 @@ struct pseudo_descriptor { short pad; unsigned short limit; unsigned long linear_base; -}; +} __attribute__((packed)); void traps_install(void) {