Changeset ffccdff0 in mainline for boot/generic/src/balloc.c
- Timestamp:
- 2020-06-15T13:29:29Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f663f3e
- Parents:
- 128359eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/src/balloc.c
r128359eb rffccdff0 28 28 29 29 #include <balloc.h> 30 #include <stdalign.h> 30 31 #include <stddef.h> 31 32 #include <align.h> … … 51 52 52 53 /* Enforce minimal alignment. */ 53 alignment = ALIGN_UP(alignment, 4);54 alignment = ALIGN_UP(alignment, alignof(max_align_t)); 54 55 55 56 uintptr_t addr = phys_base + ALIGN_UP(ballocs->size, alignment);
Note:
See TracChangeset
for help on using the changeset viewer.