* <!-- description --> * @brief Tells the hypervisor to stop * * <!-- inputs/outputs --> * @return LOADER_SUCCESS on success, LOADER_FAILURE on failure. */
| 36 | * @return LOADER_SUCCESS on success, LOADER_FAILURE on failure. |
| 37 | */ |
| 38 | NODISCARD int64_t |
| 39 | send_command_stop(void) NOEXCEPT |
| 40 | { |
| 41 | if (g_mut_send_command_stop > 0) { |
| 42 | --g_mut_send_command_stop; |
| 43 | return LOADER_FAILURE; |
| 44 | } |
| 45 | |
| 46 | return LOADER_SUCCESS; |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected