Call busdma_swi from swi_vm as is done from other architectures.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2016-05-11 18:48:47 +00:00
parent bc90a48ccf
commit 9615213bef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299478
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <machine/armreg.h>
#include <machine/cpu.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
#include <machine/frame.h>
@ -256,5 +257,6 @@ void
swi_vm(void *v)
{
/* Nothing to do here - busdma bounce buffers are not implemented. */
if (busdma_swi_pending != 0)
busdma_swi();
}

View File

@ -41,6 +41,7 @@ extern int vm_page_dump_size;
struct dumperinfo;
extern int busdma_swi_pending;
void busdma_swi(void);
void dump_add_page(vm_paddr_t);
void dump_drop_page(vm_paddr_t);