complete register module

Signed-off-by: you <ylcaa@foxmail.com>