|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 2014 Free Software Foundation. ! 3: * ! 4: * This program is free software; you can redistribute it and/or modify ! 5: * it under the terms of the GNU General Public License as published by ! 6: * the Free Software Foundation; either version 2 of the License, or ! 7: * (at your option) any later version. ! 8: * ! 9: * This program is distributed in the hope that it will be useful, ! 10: * but WITHOUT ANY WARRANTY; without even the implied warranty of ! 11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 12: * GNU General Public License for more details. ! 13: * ! 14: * You should have received a copy of the GNU General Public License ! 15: * along with this program. If not, see <http://www.gnu.org/licenses/>. ! 16: */ ! 17: ! 18: #ifndef _GRUB_GLUE_H ! 19: #define _GRUB_GLUE_H ! 20: ! 21: #define GRUB_FILE __FILE__ ! 22: #define grub_memcmp memcmp ! 23: #define grub_printf printf ! 24: #define grub_puts_ puts ! 25: ! 26: #include <mach/mach_types.h> ! 27: #include <i386/vm_param.h> ! 28: ! 29: /* Warning: this leaks memory maps for now, do not use it yet for something ! 30: * else than Mach shutdown. */ ! 31: vm_offset_t io_map_cached(vm_offset_t phys_addr, vm_size_t size); ! 32: ! 33: #endif /* _GRUB_GLUE_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.