hwdocs: Add reg directive.