Added IDT definitions, structs and functions.