1c583b025SBrandon Bergren /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3c583b025SBrandon Bergren * 4c583b025SBrandon Bergren * Copyright (c) 2021 Brandon Bergren <bdragon@FreeBSD.org> 5c583b025SBrandon Bergren * 6c583b025SBrandon Bergren * Redistribution and use in source and binary forms, with or without 7c583b025SBrandon Bergren * modification, are permitted provided that the following conditions 8c583b025SBrandon Bergren * are met: 9c583b025SBrandon Bergren * 1. Redistributions of source code must retain the above copyright 10c583b025SBrandon Bergren * notice, this list of conditions and the following disclaimer. 11c583b025SBrandon Bergren * 2. Redistributions in binary form must reproduce the above copyright 12c583b025SBrandon Bergren * notice, this list of conditions and the following disclaimer in the 13c583b025SBrandon Bergren * documentation and/or other materials provided with the distribution. 14c583b025SBrandon Bergren * 15c583b025SBrandon Bergren * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16c583b025SBrandon Bergren * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17c583b025SBrandon Bergren * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18c583b025SBrandon Bergren * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19c583b025SBrandon Bergren * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20c583b025SBrandon Bergren * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21c583b025SBrandon Bergren * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22c583b025SBrandon Bergren * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23c583b025SBrandon Bergren * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24c583b025SBrandon Bergren * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25c583b025SBrandon Bergren * SUCH DAMAGE. 26c583b025SBrandon Bergren */ 27c583b025SBrandon Bergren 28c583b025SBrandon Bergren #ifndef _PLATFORM_POWERMAC_H_ 29c583b025SBrandon Bergren #define _PLATFORM_POWERMAC_H_ 30c583b025SBrandon Bergren 31c583b025SBrandon Bergren typedef void (*powermac_tb_disable_t)(device_t, bool); 32c583b025SBrandon Bergren extern void powermac_register_timebase(device_t, powermac_tb_disable_t); 33c583b025SBrandon Bergren 34c583b025SBrandon Bergren #endif /* _PLATFORM_POWERMAC_H_ */ 35