1 /* 2 * Copyright (c) 2023 Warner Losh 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7 #include <sys/types.h> 8 9 #include <err.h> 10 #include <fcntl.h> 11 #include <limits.h> 12 #include <stdlib.h> 13 #include <stdint.h> 14 #include <stdio.h> 15 #include <string.h> 16 #include <unistd.h> 17 18 caddr_t ptov(uintptr_t pa); 19