arch: add missing boardctl()
authorHeesub Shin <heesub.shin@samsung.com>
Sat, 6 May 2017 08:58:00 +0000 (17:58 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Sat, 6 May 2017 14:00:44 +0000 (23:00 +0900)
commit6778f3029849f7ad089323966d0485cdb20ba78b
treebbfcb8b310fe1f8f43454848eb4c171ca72b13f6
parent359653ff5bb96731dc8c9266b21f51130548c431
arch: add missing boardctl()

In TizenRT, boardctl() is missing. Without it, there is no way to
support shutdown, reboot, or any other board-specific control. So, this
commit copies boardctl.c, IOCTL definitions and several Kconfig entries
from NuttX, which were deleted in TizenRT.

Change-Id: I8cbd27faa6cbfc12b65d6cba7f9c57237c81853f
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/Kconfig.board
os/arch/boardctl.c [new file with mode: 0644]
os/include/sys/boardctl.h [new file with mode: 0644]
os/include/tinyara/fs/ioctl.h