fix misuse of syscall_register
functions to glue in device interface to devpass ioctls
create version of init_secondary to work as pthread function
locking and initialization fixes to IOCSTATUSPAGE and IOCVCPUMAP