adding types.h
adding boot magic check; wasn\'t working before
adding types.h
removing type defs from file
adding type definitions