Enforce physical alignment based upon size for the SPARC32 romvec obp_dumb_memalloc...
commit2c2144da4430e1f682f38e370728452c61ce85a4
authormcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Fri, 8 Apr 2011 09:03:59 +0000 (8 09:03 +0000)
committermcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Fri, 8 Apr 2011 09:03:59 +0000 (8 09:03 +0000)
tree9934fa2630f6516534e2660bcf24b6f17854bcc5
parentad46e5f8644b3c6f507382ad3985a5e52adcd27b
Enforce physical alignment based upon size for the SPARC32 romvec obp_dumb_memalloc() function.

It appears that Solaris assumes that the resulting memory is physically aligned based upon the
value of size. Make sure we also respect this alignment, so that memory allocated using this
interface can be correctly used for the Solaris IOMMU page tables.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1034 f158a5a8-5612-0410-a976-696ce0be7e32
arch/sparc32/lib.c