]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Force IDT packing with __attribute__((packed)).
authorJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 6 Dec 2008 11:09:10 +0000 (06:09 -0500)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 6 Dec 2008 11:09:10 +0000 (06:09 -0500)
aseg-paging/traps.c

index f41068fd0604f7cc060ca971ec69cc2e8ca75586..1fc0977bde26cfdb18992485107a190a52b294a2 100644 (file)
@@ -86,7 +86,7 @@ struct pseudo_descriptor {
         short pad;
         unsigned short limit;
         unsigned long linear_base;
         short pad;
         unsigned short limit;
         unsigned long linear_base;
-};
+} __attribute__((packed));
 
 void traps_install(void) {
 
 
 void traps_install(void) {
 
This page took 0.021416 seconds and 4 git commands to generate.