| Marc Olberding | 1e17db5 | 2025-08-27 12:25:28 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: Apache-2.0 |
| Patrick Williams | 4a94352 | 2025-10-09 20:34:38 -0400 | [diff] [blame^] | 2 | // SPDX-FileCopyrightText: Copyright OpenBMC Authors |
| Marc Olberding | 1e17db5 | 2025-08-27 12:25:28 -0700 | [diff] [blame] | 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <chrono> |
| 7 | #include <string_view> |
| 8 | |
| 9 | constexpr static const char* app_name = "platform_init"; |
| 10 | |
| 11 | void sleep_milliseconds(std::chrono::milliseconds milliseconds); |
| 12 | |
| 13 | void wait_for_path_to_exist(std::string_view path, |
| 14 | std::chrono::milliseconds timeout); |