1dc8f7692SOlivier Certner /*- 2dc8f7692SOlivier Certner * SPDX-License-Identifier: BSD-2-Clause 3dc8f7692SOlivier Certner * 4dc8f7692SOlivier Certner * Copyright (c) 2023 The FreeBSD Foundation 5dc8f7692SOlivier Certner * 6dc8f7692SOlivier Certner * This software was developed by Olivier Certner <olce.freebsd@certner.fr> 7dc8f7692SOlivier Certner * at Kumacom SAS under sponsorship from the FreeBSD Foundation. 8dc8f7692SOlivier Certner * 9dc8f7692SOlivier Certner * Redistribution and use in source and binary forms, with or without 10dc8f7692SOlivier Certner * modification, are permitted provided that the following conditions are 11dc8f7692SOlivier Certner * met: 12dc8f7692SOlivier Certner * 1. Redistributions of source code must retain the above copyright 13dc8f7692SOlivier Certner * notice, this list of conditions and the following disclaimer. 14dc8f7692SOlivier Certner * 2. Redistributions in binary form must reproduce the above copyright 15dc8f7692SOlivier Certner * notice, this list of conditions and the following disclaimer in 16dc8f7692SOlivier Certner * the documentation and/or other materials provided with the distribution. 17dc8f7692SOlivier Certner * 18dc8f7692SOlivier Certner * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 19dc8f7692SOlivier Certner * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20dc8f7692SOlivier Certner * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21dc8f7692SOlivier Certner * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 22dc8f7692SOlivier Certner * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23dc8f7692SOlivier Certner * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24dc8f7692SOlivier Certner * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25dc8f7692SOlivier Certner * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26dc8f7692SOlivier Certner * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27dc8f7692SOlivier Certner * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28dc8f7692SOlivier Certner * SUCH DAMAGE. 29dc8f7692SOlivier Certner */ 30dc8f7692SOlivier Certner 31dc8f7692SOlivier Certner #ifndef _VM_UMA_ALIGN_MASK_H_ 32dc8f7692SOlivier Certner #define _VM_UMA_ALIGN_MASK_H_ 33dc8f7692SOlivier Certner 34*3d8f548bSOlivier Certner unsigned int uma_get_cache_align_mask(void) __pure; 35dc8f7692SOlivier Certner 36dc8f7692SOlivier Certner #endif /* !_VM_UMA_ALIGN_MASK_H_ */ 37