* <!-- description --> * @brief This function allocates read/write virtual memory from the * kernel. This memory is physically contiguous. The resulting * pointer is at least 4k aligned, so use this function sparingly * as it will always allocate at least one page. Use * platform_free_contiguous() to release this memory. * * @note This function must zero the allocated me
| 132 | * Returns a nullptr on failure. |
| 133 | */ |
| 134 | NODISCARD void * |
| 135 | platform_alloc_contiguous(uint64_t const size) |
| 136 | { |
| 137 | return platform_alloc(size); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * <!-- description --> |
no test coverage detected