typedef struct { unsigned short size; void * base; } __attribute__ ((packed)) IDTR; IDTR idtr; idtr.size = 256 * 8; idtr.