From ea82a4d139d466936e00b5963e8454f2270fc3ff Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 6 Dec 2008 06:09:10 -0500 Subject: [PATCH 1/1] Force IDT packing with __attribute__((packed)). --- aseg-paging/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.0