kernel: initial commit of kernel driver