Replace the existing PowerPC busdma implementation with the one from

amd64 (with slight modifications). This provides support for bounce
buffers, which are required on systems with RAM above 4 GB.
This commit is contained in:
Nathan Whitehorn 2010-07-08 15:38:55 +00:00
parent 35a69e02a4
commit f6421f31e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209812
3 changed files with 835 additions and 212 deletions

View file

@ -358,10 +358,8 @@ sf_buf_free(struct sf_buf *sf)
void
swi_vm(void *dummy)
{
#if 0 /* XXX: Don't have busdma stuff yet */
if (busdma_swi_pending != 0)
busdma_swi();
#endif
}
/*

View file

@ -357,10 +357,8 @@ sf_buf_free(struct sf_buf *sf)
void
swi_vm(void *dummy)
{
#if 0 /* XXX: Don't have busdma stuff yet */
if (busdma_swi_pending != 0)
busdma_swi();
#endif
}
/*

File diff suppressed because it is too large Load diff