kernel: add psw kernel.
kernel: make psw usable, reorder cases alphabetically.