Would this work to get 8 byte alignment
Posted: Fri Nov 28, 2003 12:00 am
hi
I am using gcc 3.x and want to get an 8 byte alignment for my GDT and IDT.
Will this "C" code work ??
typedef struct
{
.....
.....
} GDT;
__asm__(".align 8");
GDT mygdt;
I am using gcc 3.x and want to get an 8 byte alignment for my GDT and IDT.
Will this "C" code work ??
typedef struct
{
.....
.....
} GDT;
__asm__(".align 8");
GDT mygdt;