hal: Mark function that are only called from assembly as hidden.