mainboard/dell: Add new mainboard XPS 8300 (Sandy Bridge)
[coreboot.git] / util / intelmetool / mmap.h
blob57ecca246078190e0be3a309bac6cf0c5c3aa003
1 /* intelmetool */
2 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 #include <inttypes.h>
5 #include <stdlib.h>
6 #include <fcntl.h>
7 #include <sys/mman.h>
8 #include <stdio.h>
10 #ifndef __DARWIN__
11 extern int fd_mem;
12 extern void *map_physical(off_t phys_addr, size_t len);
13 extern void unmap_physical(void *virt_addr, size_t len);
14 extern void *map_physical_exact(off_t phys_addr, void *mapto, size_t len);
15 #endif