HomeFreeBSD

Add UMA_ALIGNOF().

Description

Add UMA_ALIGNOF().

This is a wrapper around _Alignof() that sets the alignment for a zone
to the alignment required by a given type. This allows the compiler to
determine the proper alignment rather than having the programmer try to
guess.

Discussed on: arch@
MFC after: 1 week
Sponsored by: DARPA / AFRL

Details

Provenance
jhbAuthored on
Parents
rS324071: bhnd: Add support for supplying bus I/O callbacks when initializing an EROM
Branches
Unknown
Tags
Unknown