Increase the size of the OFW bounce buffer to 4 pages. With this I can now run

'ofwdump -ap' on my quad G5.

MFC after:	9.2 branch
This commit is contained in:
Justin Hibbits 2013-07-24 02:01:01 +00:00
parent 90776bd730
commit 15b5b0aca5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253588

View File

@ -210,12 +210,12 @@ ofw_real_bounce_alloc(void *junk)
mtx_lock(&of_bounce_mtx);
of_bounce_virt = contigmalloc(PAGE_SIZE, M_OFWREAL, 0, 0,
of_bounce_virt = contigmalloc(4 * PAGE_SIZE, M_OFWREAL, 0, 0,
ulmin(platform_real_maxaddr(), BUS_SPACE_MAXADDR_32BIT), PAGE_SIZE,
PAGE_SIZE);
4 * PAGE_SIZE);
of_bounce_phys = vtophys(of_bounce_virt);
of_bounce_size = PAGE_SIZE;
of_bounce_size = 4 * PAGE_SIZE;
/*
* For virtual-mode OF, direct map this physical address so that