alignForward
Inline because TLS is not set up yet.
Function parameters
Parameters
- addr:usize
- alignment:usize
Functions in this namespace
Functions
- prepareArea
- Initializes all the fields of the static TLS area and returns the computed architecture-specific
- initStatic
- Computes the layout of the static TLS area, allocates the area, initializes all of its fields,
Constants and values in this namespace
Values
Source
Implementation
inline fn alignForward(addr: usize, alignment: usize) usize {
return alignBackward(addr + (alignment - 1), alignment);
}