add dofio

Signed-off-by: Micky Ching <mickyching@gmail.com>
add windctrl

Signed-off-by: Micky Ching <mickyching@gmail.com>