Resync header files with kernel

Resync headers and add types.h file for endian annotated types, which
are not available with old headers.
21 files changed