add register apis

Signed-off-by: yayanyang <yayanyang@gmail.com>