kernel: add some missing symbols/move them to generic