diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-01-15 07:32:21 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-01-15 07:32:21 +0000 |
commit | 4467dc880bdbacf54fa1e3b93e5e600e45d22624 (patch) | |
tree | 271d48795f69be5818f87ff42312bbe7a07ccb6c /sys/amd64/amd64/vm_machdep.c | |
parent | f998c56a170d88d711c73263584bde08b4d501cb (diff) | |
download | FreeBSD-src-4467dc880bdbacf54fa1e3b93e5e600e45d22624.zip FreeBSD-src-4467dc880bdbacf54fa1e3b93e5e600e45d22624.tar.gz |
Implementation of Bus DMA for FreeBSD-x86. This is sufficient to do
page level bounce buffering, but there are still some issues left to
address.
Diffstat (limited to 'sys/amd64/amd64/vm_machdep.c')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 0807026..0597ca4 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.92 1997/11/20 19:41:20 bde Exp $ + * $Id: vm_machdep.c,v 1.93 1997/12/27 02:28:28 peter Exp $ */ #include "npx.h" @@ -965,6 +965,16 @@ vm_page_zero_idle() } /* + * Software interrupt handler for queued VM system processing. + */ +void +swi_vm() +{ + if (busdma_swi_pending != 0) + busdma_swi(); +} + +/* * 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, |