* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc_contiguous() function. * * <!-- inputs/outputs --> * @param ptr the pointer returned by platform_alloc_contiguous(). If ptr is * passed a nullptr, it will be ignored. Attempting to free memory * more than once results in UB. * @param size the number of bytes that wer
| 184 | * may or may not be ignored depending on the platform. |
| 185 | */ |
| 186 | void |
| 187 | platform_free_contiguous(void const *const ptr, uint64_t const size) NOEXCEPT |
| 188 | { |
| 189 | (void)size; |
| 190 | |
| 191 | if (NULLPTR != ptr) { |
| 192 | MmFreeContiguousMemory((void *)ptr); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * <!-- description --> |
nothing calls this directly
no outgoing calls
no test coverage detected