diff options
| author | Dmitry Chagin <dchagin@FreeBSD.org> | 2022-04-26 16:40:59 +0000 |
|---|---|---|
| committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2022-04-26 16:40:59 +0000 |
| commit | fe2c9f83a6dc1cc62da177a765ce8a265894b2cd (patch) | |
| tree | fd86b31a549e0bc48b36bdedfe8ca09b8b60ac93 /sys/i386 | |
| parent | e00aad1042e7163865763b42d8d72137eeb9df63 (diff) | |
Diffstat (limited to 'sys/i386')
| -rw-r--r-- | sys/i386/i386/vm_machdep.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index ba1bc996bda4..a27aebf83a31 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -650,28 +650,3 @@ sf_buf_invalidate_cache(vm_page_t m) return (sf_buf_process_page(m, sf_buf_invalidate)); } - -/* - * Tell whether this address is in some physical memory region. - * Currently used by the kernel coredump code in order to avoid - * dumping the ``ISA memory hole'' which could cause indefinite hangs, - * or other unpredictable behaviour. - */ - -int -is_physical_memory(vm_paddr_t addr) -{ - -#ifdef DEV_ISA - /* The ISA ``memory hole''. */ - if (addr >= 0xa0000 && addr < 0x100000) - return 0; -#endif - - /* - * stuff other tests for known memory-mapped devices (PCI?) - * here - */ - - return 1; -} |
