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:
parent
bc90a48ccf
commit
9615213bef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299478
@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include <machine/armreg.h>
|
#include <machine/armreg.h>
|
||||||
#include <machine/cpu.h>
|
#include <machine/cpu.h>
|
||||||
|
#include <machine/md_var.h>
|
||||||
#include <machine/pcb.h>
|
#include <machine/pcb.h>
|
||||||
#include <machine/frame.h>
|
#include <machine/frame.h>
|
||||||
|
|
||||||
@ -256,5 +257,6 @@ void
|
|||||||
swi_vm(void *v)
|
swi_vm(void *v)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* Nothing to do here - busdma bounce buffers are not implemented. */
|
if (busdma_swi_pending != 0)
|
||||||
|
busdma_swi();
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ extern int vm_page_dump_size;
|
|||||||
|
|
||||||
struct dumperinfo;
|
struct dumperinfo;
|
||||||
|
|
||||||
|
extern int busdma_swi_pending;
|
||||||
void busdma_swi(void);
|
void busdma_swi(void);
|
||||||
void dump_add_page(vm_paddr_t);
|
void dump_add_page(vm_paddr_t);
|
||||||
void dump_drop_page(vm_paddr_t);
|
void dump_drop_page(vm_paddr_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user