refactoring user-kernel arguments passing

Old arguments passing is suck, refactor it.

1) move user argv pointer copying to kp_init_arguments
2) introduce parm pointer in global_state structure

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
add ktap game: scripts/game/tetris.kp

Signed-off-by: Tadaki SAKAI <stadaki.dev@gmail.com>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
ktap/game: update tetris.kp

Signed-off-by: Tadaki SAKAI <stadaki.dev@gmail.com>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
ktap/userspace: use varg macro to properly pass error message

Previously, what and limit is not passed to fprintf in
ktapc_runerror and causing segfault on execution.

Signed-off-by: Qingping Hou <dave2008713@gmail.com>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
minor typo update on Kconfig

Use "ktap" instead of "KTAP" in Kconfig, also add
tutorial link in Kconfig.

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
delete doc/presentation

Those slides will move to website(www.ktap.org),
delete it in git tree.

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
ktapvm: add module parameter for non-mainthread execution limit

Sometimes tetris script report exceed max exec count, the
reason is tetris may execute instruction exceed 10000 in
timer context.

Basically 10000 exec count is pretty large for most script,
so let that value to be configurable for special case like
tetris script, then user can change it when load ktapvm module,
or change it via sysfs at run time.

Signed-off-by: Tadaki SAKAI <stadaki.dev@gmail.com>
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
ktapvm: rename kp_exec_count_max to kp_max_exec_count

This patch also fix the error report when exceed kp_max_exec_count.

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
ktap/scripts: add note for tetris.kp(enlarge max_exec_count to 50000)

Change that value by below command:
sudo echo 50000 > /sys/module/ktapvm/parameters/max_exec_count

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>
added credits and fix comment

Signed-off-by: Tadaki SAKAI <stadaki.dev@gmail.com>