- Change function parameter order in AllocVecAligned and armed the memory bashing function. Not tested extensively.
- Added some sanity checks in AllocVecAligned:
* If boundary used (!=0) then boundary has to be >= Bytesize (original request)
* Bytesize has to be > 0
* AlignmentMin = multiple of memchunk or lower than memchunk in which case assume memchunk alignment. Any other will force fail.
- Recoded to get rid of some AROS_ROUNDUP2 macros in a loop and subtituted with simpler methods.
- Made XHCI code compilable again, but will halt all execution while booting as there are test calls to AllocVecAligned(byteSize, alignmentMin, boundary).
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46214 fb15a70f-31f2-0310-bbcc-cdcc74a49acc