https://github.com/seL4/seL4_libs/blob/24921e85cc0b7ce1028a78dce638c46d8ecfc613/libsel4allocman/src/cspace/single_level.c#L24